Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

V3d_PerspectiveView Class Reference

#include <V3d_PerspectiveView.hxx>

Inheritance diagram for V3d_PerspectiveView:

V3d_View Viewer_View MMgt_TShared Standard_Transient

List of all members.


Detailed Description

Creates and modifies a perspective
See the methods of the class View

Definition at line 55 of file V3d_PerspectiveView.hxx.


Public Member Functions

Standard_EXPORT Handle_V3d_Light ActiveLight () const
Standard_EXPORT Handle_V3d_Plane ActivePlane () const
Standard_EXPORT Quantity_PlaneAngle Angle () const
 Returns the value of the angle of opening.
.
Standard_EXPORT Standard_Boolean AnimationMode (Standard_Boolean &isDegenerate) const
 Returns the animation and degenerate status.
.
Standard_EXPORT Standard_Boolean AnimationModeIsOn () const
 Returns the activity of the animation mode.
.
Standard_EXPORT Standard_Boolean Antialiasing () const
Standard_EXPORT void At (V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z) const
 Returns the position of the view point.
.
Standard_EXPORT void AxialScale (const Standard_Integer Dx, const Standard_Integer Dy, const V3d_TypeOfAxe Axis)
Standard_EXPORT void AxialScale (Standard_Real &Sx, Standard_Real &Sy, Standard_Real &Sz) const
 Returns the current values of the anisotropic (axial) scale factors.
.
Standard_EXPORT
V3d_TypeOfBackfacingModel 
BackFacingModel () const
 Returns current state of the back faces display
.
Standard_EXPORT Quantity_Color BackgroundColor () const
 Returns the Background color object of the view.
.
Standard_EXPORT void BackgroundColor (const Quantity_TypeOfColor Type, Quantity_Parameter &V1, Quantity_Parameter &V2, Quantity_Parameter &V3) const
Standard_EXPORT void Center (V3d_Coordinate &Xc, V3d_Coordinate &Yc) const
 Returns the centre of the view.
.
Standard_EXPORT
Handle_Aspect_ColorScale 
ColorScale () const
Standard_EXPORT void ColorScaleDisplay ()
Standard_EXPORT void ColorScaleErase ()
Standard_EXPORT Standard_Boolean ColorScaleIsDisplayed () const
Standard_EXPORT Standard_Boolean ComputedMode () const
 Returns the computed HLR mode state
.
Standard_EXPORT void Convert (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z, Standard_Integer &Xp, Standard_Integer &Yp) const
Standard_EXPORT void Convert (const Standard_Integer Xp, const Standard_Integer Yp, V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z) const
Standard_EXPORT void Convert (const V3d_Coordinate Xv, const V3d_Coordinate Yv, Standard_Integer &Xp, Standard_Integer &Yp) const
Standard_EXPORT Standard_Integer Convert (const Quantity_Length Vv) const
Standard_EXPORT void Convert (const Standard_Integer Xp, const Standard_Integer Yp, V3d_Coordinate &Xv, V3d_Coordinate &Yv) const
Standard_EXPORT Quantity_Length Convert (const Standard_Integer Vp) const
Standard_EXPORT void ConvertToGrid (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z, V3d_Coordinate &Xg, V3d_Coordinate &Yg, V3d_Coordinate &Zg) const
Standard_EXPORT void ConvertToGrid (const Standard_Integer Xp, const Standard_Integer Yp, V3d_Coordinate &Xg, V3d_Coordinate &Yg, V3d_Coordinate &Zg) const
Standard_EXPORT void ConvertWithProj (const Standard_Integer Xp, const Standard_Integer Yp, V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z, Quantity_Parameter &Vx, Quantity_Parameter &Vy, Quantity_Parameter &Vz) const
Standard_EXPORT
Handle_V3d_PerspectiveView 
Copy () const
Standard_EXPORT Standard_Boolean DegenerateModeIsOn () const
 Returns the activity of the degenerate mode.
.
virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
Standard_EXPORT Quantity_Length Depth () const
 Returns the Distance between the Eye and View Point.
.
Standard_EXPORT void DepthFitAll (const Quantity_Coefficient Aspect=0.01, const Quantity_Coefficient Margin=0.01)
Standard_EXPORT void DoMapping ()
Standard_EXPORT Standard_Boolean Dump (const Standard_CString aFile, const Aspect_FormatOfSheetPaper aFormat)
Standard_EXPORT Standard_Boolean Dump (const Standard_CString aFile)
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
Standard_EXPORT void EnableDepthTest (const Standard_Boolean enable=Standard_True) const
 turns on/off opengl depth testing

Standard_EXPORT void EnableGLLight (const Standard_Boolean enable=Standard_True) const
 turns on/off opengl lighting, currently used in triedron displaying

Standard_EXPORT void Eye (V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z) const
 Returns the position of the eye.
.
Standard_EXPORT void FitAll (const V3d_Coordinate Umin, const V3d_Coordinate Vmin, const V3d_Coordinate Umax, const V3d_Coordinate Vmax)
Standard_EXPORT void FitAll (const Quantity_Coefficient Coef=0.01, const Standard_Boolean FitZ=Standard_False, const Standard_Boolean update=Standard_True)
Standard_EXPORT Quantity_Length Focale () const
 Returns the View Plane Distance for Perspective Views
.
Standard_EXPORT void FocalReferencePoint (V3d_Coordinate &X, V3d_Coordinate &Y, V3d_Coordinate &Z) const
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
Standard_EXPORT Standard_Boolean IfMoreLights () const
Standard_EXPORT Standard_Boolean IfMorePlanes () const
Standard_EXPORT Standard_Boolean IfWindow () const
 Returns True if MyView is associated with a window .
.
Standard_EXPORT void InitActiveLights ()
 initializes an iteration on the active Lights.

Standard_EXPORT void InitActivePlanes ()
 initializes an iteration on the active Planes.

Standard_EXPORT Standard_Boolean IsActiveLight (const Handle(V3d_Light)&aLight) const
 Returns TRUE when the light is active in this view.
.
Standard_EXPORT Standard_Boolean IsActivePlane (const Handle(V3d_Plane)&aPlane) const
 Returns TRUE when the plane is active in this view.
.
Standard_EXPORT Standard_Boolean IsDepthTestEnabled () const
 returns the current state of the depth testing

Standard_EXPORT Standard_Boolean IsEmpty () const
Standard_EXPORT Standard_Boolean IsGLLightEnabled () const
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean MoreActiveLights () const
 returns true if there are more active Light(s) to return.

Standard_EXPORT Standard_Boolean MoreActivePlanes () const
 returns true if there are more active Plane(s) to return.

Standard_EXPORT void Move (const Quantity_Length Length, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Move (const V3d_TypeOfAxe Axe, const Quantity_Length Length, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Move (const Quantity_Length Dx, const Quantity_Length Dy, const Quantity_Length Dz, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void MustBeResized ()
Standard_EXPORT void NextActiveLights ()
Standard_EXPORT void NextActivePlanes ()
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
Standard_EXPORT void Pan (const Standard_Integer Dx, const Standard_Integer Dy, const Quantity_Factor aZoomFactor=1)
Standard_EXPORT void Panning (const Quantity_Length Dx, const Quantity_Length Dy, const Quantity_Factor aZoomFactor=1, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Place (const Standard_Integer x, const Standard_Integer y, const Quantity_Factor aZoomFactor=1)
Standard_EXPORT void Plot ()
 Create a 2D View for plotting the contents of the view
.
Standard_EXPORT void Print (const Aspect_Handle hPrnDC=NULL, const Standard_Boolean showDialog=Standard_True, const Standard_Boolean showBackground=Standard_True, const Standard_CString filename=NULL) const
Standard_EXPORT void Proj (Quantity_Parameter &Vx, Quantity_Parameter &Vy, Quantity_Parameter &Vz) const
 Returns the projection vector.
.
Standard_EXPORT void Project (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z, V3d_Coordinate &Xp, V3d_Coordinate &Yp) const
Standard_EXPORT
V3d_TypeOfProjectionModel 
ProjModel () const
 Returns the current projection model
.
Standard_EXPORT void ProjReferenceAxe (const Standard_Integer Xpix, const Standard_Integer Ypix, V3d_Coordinate &XP, V3d_Coordinate &YP, V3d_Coordinate &ZP, V3d_Coordinate &VX, V3d_Coordinate &VY, V3d_Coordinate &VZ) const
Standard_EXPORT void Redraw (const Standard_Integer x, const Standard_Integer y, const Standard_Integer width, const Standard_Integer height) const
Standard_EXPORT void Redraw () const
Standard_EXPORT void Remove () const
 Destroys the view.
.
Standard_EXPORT void Reset (const Standard_Boolean update=Standard_True)
Standard_EXPORT void ResetViewMapping ()
Standard_EXPORT void ResetViewOrientation ()
Standard_EXPORT void Rotate (const Quantity_PlaneAngle Angle, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Rotate (const V3d_TypeOfAxe Axe, const Quantity_PlaneAngle Angle, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Rotate (const V3d_TypeOfAxe Axe, const Quantity_PlaneAngle Angle, const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Rotate (const Quantity_PlaneAngle Ax, const Quantity_PlaneAngle Ay, const Quantity_PlaneAngle Az, const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Rotate (const Quantity_PlaneAngle Ax, const Quantity_PlaneAngle Ay, const Quantity_PlaneAngle Az, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Rotation (const Standard_Integer X, const Standard_Integer Y)
Standard_EXPORT Quantity_Factor Scale () const
Standard_EXPORT void ScreenCopy (const Handle(PlotMgt_PlotterDriver)&aPlotterDriver, const Standard_Boolean fWhiteBackground=Standard_True, const Quantity_Factor aScale=1.0)
 dump the view

Standard_EXPORT void SetAngle (const Quantity_PlaneAngle Angle)
Standard_EXPORT void SetAnimationMode (const Standard_Boolean anAnimationFlag=Standard_True, const Standard_Boolean aDegenerationFlag=Standard_False)
 Enable/Disable animation/degeneration mode
.
Standard_EXPORT void SetAnimationModeOff ()
 Deactivates the animation mode.
.
Standard_EXPORT void SetAnimationModeOn ()
Standard_EXPORT void SetAntialiasingOff ()
 Desactivates antialiasing in the view.
.
Standard_EXPORT void SetAntialiasingOn ()
 Activates antialiasing in the view.
.
Standard_EXPORT void SetAt (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z)
 Defines the position of the view point.
.
Standard_EXPORT void SetAxialScale (const Standard_Real Sx, const Standard_Real Sy, const Standard_Real Sz)
Standard_EXPORT void SetAxis (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z, const Quantity_Parameter Vx, const Quantity_Parameter Vy, const Quantity_Parameter Vz)
Standard_EXPORT void SetBackFacingModel (const V3d_TypeOfBackfacingModel aModel=V3d_TOBM_AUTOMATIC)
Standard_EXPORT void SetBackgroundColor (const Quantity_NameOfColor Name)
Standard_EXPORT void SetBackgroundColor (const Quantity_Color &Color)
Standard_EXPORT void SetBackgroundColor (const Quantity_TypeOfColor Type, const Quantity_Parameter V1, const Quantity_Parameter V2, const Quantity_Parameter V3)
Standard_EXPORT void SetBackgroundImage (const Standard_CString FileName, const Aspect_FillMethod FillStyle=Aspect_FM_CENTERED, const Standard_Boolean update=Standard_False)
Standard_EXPORT void SetBgImageStyle (const Aspect_FillMethod FillStyle, const Standard_Boolean update=Standard_False)
Standard_EXPORT void SetCenter (const Standard_Integer X, const Standard_Integer Y)
Standard_EXPORT void SetCenter (const V3d_Coordinate Xc, const V3d_Coordinate Yc)
Standard_EXPORT void SetComputedMode (const Standard_Boolean aMode)
 Switches computed HLR mode in the view
.
Standard_EXPORT void SetDegenerateModeOff ()
Standard_EXPORT void SetDegenerateModeOn ()
Standard_EXPORT void SetDepth (const Quantity_Length Depth)
Standard_EXPORT void SetEye (const V3d_Coordinate X, const V3d_Coordinate Y, const V3d_Coordinate Z)
 Defines the position of the eye..
.
Standard_EXPORT void SetFocale (const Quantity_Length Focale)
Standard_EXPORT void SetFront ()
Standard_EXPORT void SetGrid (const gp_Ax3 &aPlane, const Handle(Aspect_Grid)&aGrid)
Standard_EXPORT void SetGridActivity (const Standard_Boolean aFlag)
Standard_EXPORT void SetGridGraphicValues (const Handle(Aspect_Grid)&aGrid)
Standard_EXPORT Standard_Boolean SetImmediateUpdate (const Standard_Boolean onoff)
 sets the immediate update mode and returns the previous one.

Standard_EXPORT void SetLayerMgr (const Handle(V3d_LayerMgr)&aMgr)
Standard_EXPORT void SetLightOff ()
 Deactivate all the Lights defined in this view.
.
Standard_EXPORT void SetLightOff (const Handle(V3d_Light)&MyLight)
 Desactivate MyLight in this view.
.
Standard_EXPORT void SetLightOn ()
 Activates all the lights defined in this view.
.
Standard_EXPORT void SetLightOn (const Handle(V3d_Light)&MyLight)
 Activates MyLight in the view.
.
Standard_EXPORT void SetMagnify (const Handle(Aspect_Window)&IdWin, const Handle(V3d_View)&aPreviousView, const Standard_Integer x1, const Standard_Integer y1, const Standard_Integer x2, const Standard_Integer y2)
Standard_EXPORT void SetPerspective (const Quantity_PlaneAngle Angle, const Standard_Real UVRatio, const Standard_Real ZNear, const Standard_Real ZFar)
Standard_EXPORT void SetPlaneOff ()
Standard_EXPORT void SetPlaneOff (const Handle(V3d_Plane)&MyPlane)
Standard_EXPORT void SetPlaneOn ()
Standard_EXPORT void SetPlaneOn (const Handle(V3d_Plane)&MyPlane)
 Activates the clipping plane in this view.
//! If No More Plane can be activated in MyView .
.
virtual Standard_EXPORT void SetPlotter (const Handle(Graphic3d_Plotter)&aPlotter)
Standard_EXPORT void SetProj (const V3d_TypeOfOrientation Orientation)
 Defines the orientation of the projection .
.
Standard_EXPORT void SetProj (const Quantity_Parameter Vx, const Quantity_Parameter Vy, const Quantity_Parameter Vz)
 Defines the orientation of the projection.
.
Standard_EXPORT void SetProjModel (const V3d_TypeOfProjectionModel amOdel=V3d_TPM_SCREEN)
 Manages projection model
.
Standard_EXPORT void SetScale (const Quantity_Factor Coef)
Standard_EXPORT void SetShadingModel (const V3d_TypeOfShadingModel Model)
Standard_EXPORT void SetSize (const Quantity_Length Size)
Standard_EXPORT void SetSurfaceDetail (const V3d_TypeOfSurfaceDetail SurfaceDetail)
Standard_EXPORT void SetTextureEnv (const Handle(Graphic3d_TextureEnv)&ATexture)
Standard_EXPORT void SetTransparency (const Standard_Boolean AnActivity=Standard_False)
 Activate/Deactivate the transparency in this view.
.
Standard_EXPORT void SetTwist (const Quantity_PlaneAngle Angle)
Standard_EXPORT void SetUp (const V3d_TypeOfOrientation Orientation)
 Defines the orientation(SO) of the high point.
.
Standard_EXPORT void SetUp (const Quantity_Parameter Vx, const Quantity_Parameter Vy, const Quantity_Parameter Vz)
 Defines the orientation of the high point.
.
Standard_EXPORT void SetViewingVolume (const Standard_Real Left, const Standard_Real Right, const Standard_Real Bottom, const Standard_Real Top, const Standard_Real ZNear, const Standard_Real ZFar)
Standard_EXPORT void SetViewMapping (const Visual3d_ViewMapping &VM)
 Modifies the mapping of the view.
.
Standard_EXPORT void SetViewMappingDefault ()
Standard_EXPORT void SetViewOrientation (const Visual3d_ViewOrientation &VO)
 Modifies the orientation of the view.
.
Standard_EXPORT void SetViewOrientationDefault ()
Standard_EXPORT void SetVisualization (const V3d_TypeOfVisualization Mode)
 Defines the visualisation mode in the view.
.
Standard_EXPORT void SetWindow (const Handle(Aspect_Window)&aWindow, const Aspect_RenderingContext aContext, const Aspect_GraphicCallbackProc &aDisplayCB, const Standard_Address aClientData)
Standard_EXPORT void SetWindow (const Handle(Aspect_Window)&IdWin)
Standard_EXPORT void SetZClippingDepth (const Quantity_Length Depth)
 Defines the depth of the medium clipping plane.
.
Standard_EXPORT void SetZClippingType (const V3d_TypeOfZclipping Type)
 Defines the type of ZClipping.
.
Standard_EXPORT void SetZClippingWidth (const Quantity_Length Width)
 Defines the thicknes around the medium clippling plane. .
.
Standard_EXPORT void SetZCueingDepth (const Quantity_Length Depth)
 Defines the depth of the medium plane.
.
Standard_EXPORT void SetZCueingOff ()
 Desactivates ZCueing in the view.
.
Standard_EXPORT void SetZCueingOn ()
 Activates ZCueing in the view.
.
Standard_EXPORT void SetZCueingWidth (const Quantity_Length Width)
 Defines the thickness around the medium plane.
.
Standard_EXPORT void SetZoom (const Quantity_Factor Coef, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void SetZSize (const Quantity_Length Size)
Standard_EXPORT
V3d_TypeOfShadingModel 
ShadingModel () const
 Returns the current shading model.
.
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
Standard_EXPORT void Size (Quantity_Length &Width, Quantity_Length &Height) const
 Returns the height and width of the view.
.
Standard_EXPORT void StartRotation (const Standard_Integer X, const Standard_Integer Y, const Quantity_Ratio zRotationThreshold=0.0)
Standard_EXPORT
V3d_TypeOfSurfaceDetail 
SurfaceDetail () const
Standard_EXPORT
Handle_Graphic3d_TextureEnv 
TextureEnv () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
Standard_EXPORT
Handle_Aspect_PixMap 
ToPixMap (const Standard_Integer aWidth, const Standard_Integer aHeight, const Standard_Integer aCDepth=24)
Standard_EXPORT Standard_Boolean TransientManagerBeginAddDraw () const
Standard_EXPORT Standard_Boolean TransientManagerBeginDraw (const Standard_Boolean DoubleBuffer=Standard_False, const Standard_Boolean RetainMode=Standard_False) const
Standard_EXPORT void TransientManagerClearDraw () const
 Clear all transient graphics in the view <aView>
.
Standard_EXPORT void Translate (const Quantity_Length Length, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Translate (const V3d_TypeOfAxe Axe, const Quantity_Length Length, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Translate (const Quantity_Length Dx, const Quantity_Length Dy, const Quantity_Length Dz, const Standard_Boolean Start=Standard_True)
Standard_EXPORT Standard_Boolean Transparency () const
 Returns the transparency activity.
.
Standard_EXPORT void TriedronDisplay (const Aspect_TypeOfTriedronPosition APosition=Aspect_TOTP_CENTER, const Quantity_NameOfColor AColor=Quantity_NOC_WHITE, const Standard_Real AScale=0.02, const V3d_TypeOfVisualization AMode=V3d_WIREFRAME)
Standard_EXPORT void TriedronEcho (const Aspect_TypeOfTriedronEcho AType=Aspect_TOTE_NONE)
 Highlights the echo zone of the Triedron.
.
Standard_EXPORT void TriedronErase ()
 Erases the Triedron.
.
Standard_EXPORT Standard_Real Tumble (const Standard_Integer NbImages=314, const Standard_Boolean AnimationMode=Standard_False)
Standard_EXPORT void Turn (const Quantity_PlaneAngle Angle, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Turn (const V3d_TypeOfAxe Axe, const Quantity_PlaneAngle Angle, const Standard_Boolean Start=Standard_True)
Standard_EXPORT void Turn (const Quantity_PlaneAngle Ax, const Quantity_PlaneAngle Ay, const Quantity_PlaneAngle Az, const Standard_Boolean Start=Standard_True)
Standard_EXPORT Quantity_PlaneAngle Twist () const
Standard_EXPORT V3d_TypeOfView Type () const
 Returns the Type of the View
.
Standard_EXPORT void Up (Quantity_Parameter &Vx, Quantity_Parameter &Vy, Quantity_Parameter &Vz) const
 Returns the vector giving the position of the high point.
.
Standard_EXPORT void Update () const
Standard_EXPORT void UpdateLights () const
 Updates the lights of the view. The view is redrawn.
.
Standard_EXPORT V3d_PerspectiveView (const Handle(V3d_Viewer)&VM, const Handle(V3d_PerspectiveView)&V)
Standard_EXPORT V3d_PerspectiveView (const Handle(V3d_Viewer)&VM, const Handle(V3d_OrthographicView)&V)
Standard_EXPORT V3d_PerspectiveView (const Handle(V3d_Viewer)&VM)
Standard_EXPORT
Handle_Visual3d_View 
View () const
 Returns the associated Visual3d view.
.
Standard_EXPORT Handle_V3d_Viewer Viewer () const
 Returns the viewer in which the view has been created.
.
Standard_EXPORT
Visual3d_ViewMapping 
ViewMapping () const
 Returns the current mapping of the view.
.
Standard_EXPORT
Visual3d_ViewOrientation 
ViewOrientation () const
 Returns the current orientation of the view.
.
Standard_EXPORT
V3d_TypeOfVisualization 
Visualization () const
 Returns the current visualisation mode.
.
Standard_EXPORT
Handle_Aspect_Window 
Window () const
 Returns the Aspect Window associated with the view.
.
Standard_EXPORT void WindowFit (const Standard_Integer Xmin, const Standard_Integer Ymin, const Standard_Integer Xmax, const Standard_Integer Ymax)
Standard_EXPORT void WindowFitAll (const Standard_Integer Xmin, const Standard_Integer Ymin, const Standard_Integer Xmax, const Standard_Integer Ymax)
 idem than WindowFit

Standard_EXPORT void ZBufferTriedronSetup (const Quantity_NameOfColor XColor=Quantity_NOC_RED, const Quantity_NameOfColor YColor=Quantity_NOC_GREEN, const Quantity_NameOfColor ZColor=Quantity_NOC_BLUE1, const Standard_Real SizeRatio=0.8, const Standard_Real AxisDiametr=0.05, const Standard_Integer NbFacettes=12)
Standard_EXPORT V3d_TypeOfZclipping ZClipping (Quantity_Length &Depth, Quantity_Length &Width) const
Standard_EXPORT Standard_Boolean ZCueing (Quantity_Length &Depth, Quantity_Length &Width) const
Standard_EXPORT void ZFitAll (const Quantity_Coefficient Coef=1.0)
Standard_EXPORT void Zoom (const Standard_Integer X, const Standard_Integer Y)
Standard_EXPORT void Zoom (const Standard_Integer X1, const Standard_Integer Y1, const Standard_Integer X2, const Standard_Integer Y2)
Standard_EXPORT Standard_Real ZSize () const
 Returns the Depth of the view .
.

Protected Member Functions

Standard_EXPORT void ImmediateUpdate () const

Protected Attributes

Standard_Boolean myImmediateUpdate
V3d_TypeOfProjectionModel MyProjModel
V3d_TypeOfView MyType
Handle_Visual3d_View MyView
Visual3d_ViewMapping MyViewMapping

Friends

Standard_EXPORT void V3d_Viewer::SetViewOff (const Handle(V3d_View)&View)
Standard_EXPORT void V3d_Viewer::SetViewOff ()
Standard_EXPORT void V3d_Viewer::SetViewOn (const Handle(V3d_View)&View)
Standard_EXPORT void V3d_Viewer::SetViewOn ()

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index