# Visualization
TKV3d
V3d

# V3d_Viewer Class Reference

Defines services on Viewer type objects.
The methods of this class allow editing and
interrogation of the parameters linked to the viewer
its friend classes (View,light,plane).
.

`#include <V3d_Viewer.hxx>`

Inheritance diagram for V3d_Viewer:

[legend]

## Public Member Functions

Standard_EXPORT

V3d_Viewer (const Handle(Aspect_GraphicDevice)&Device, const Standard_ExtString aName, const Standard_CString aDomain="", const Quantity_Length ViewSize=1000.0, const V3d_TypeOfOrientation ViewProj=V3d_XposYnegZpos, const Quantity_NameOfColor ViewBackground=Quantity_NOC_GRAY30, const V3d_TypeOfVisualization Visualization=V3d_ZBUFFER, const V3d_TypeOfShadingModel ShadingModel=V3d_GOURAUD, const V3d_TypeOfUpdate UpdateMode=V3d_WAIT, const Standard_Boolean ComputedMode=Standard_True, const Standard_Boolean DefaultComputedMode=Standard_True, const V3d_TypeOfSurfaceDetail SurfaceDetail=V3d_TEX_NONE)

| Create a Viewer on the given device with the given parameters or with their default values. //! If the size of the view is <= 0 if ComputedMode is false, only the degenerate mode will be used. Warning: Client must creates a graphic-device of type Graphic3d_GraphicDevice under UNIX or Graphic3d_WNTGraphicDevice under WindowsNT .
Standard_EXPORT Handle_V3d_View | CreateView ()
| creates a view in the viewer according to its default parameters.
Standard_EXPORT Handle_V3d_OrthographicView | DefaultOrthographicView ()
Standard_EXPORT Handle_V3d_PerspectiveView | DefaultPerspectiveView ()
Standard_EXPORT void | SetViewOn ()
| Activates all of the views of a viewer attached to a window. .
Standard_EXPORT void | SetViewOn (const Handle(V3d_View)&View)
| Activates a particular view in the Viewer . Must be call if the Window attached to the view has been Deiconified . .
Standard_EXPORT void | SetViewOff ()
| Deactivates all the views of a Viewer attached to a window. .
Standard_EXPORT void | SetViewOff (const Handle(V3d_View)&View)
| Deactivates a particular view in the Viewer. Must be call if the Window attached to the view has been Iconified . .
Standard_EXPORT void | Update ()
| Updates the display of all the views of a viewer. Must be called when the views must be updated simultaneously while the Update mode is deferred (WAIT). .
Standard_EXPORT void | UpdateLights ()
| Updates the lights of all the views of a viewer. .
Standard_EXPORT void | Redraw () const
| Redraws all the views of the Viewer even if no modification has taken place. Must be called if all the views of the Viewer are exposed, as for example in a global DeIconification. .
Standard_EXPORT void | Remove ()
| Suppresses the Viewer. .
Standard_EXPORT void | Erase () const
| Erase all Objects in All the views. .
Standard_EXPORT void | UnHighlight () const
| UnHighlight all Objects in All the views. .
Standard_EXPORT void | SetDefaultBackgroundColor (const Quantity_TypeOfColor Type, const Quantity_Parameter V1, const Quantity_Parameter V2, const Quantity_Parameter V3)
| Defines the default base colour of views attached to the Viewer by supplying the type of colour definition and the three component values.. .
Standard_EXPORT void | SetDefaultBackgroundColor (const Quantity_NameOfColor Name)
| Defines the default background colour of views attached to the viewer by supplying the name of the colour under the form Quantity_NOC_xxxx . .
Standard_EXPORT void | SetDefaultBackgroundColor (const Quantity_Color &Color)
| Defines the default background colour of views attached to the viewer by supplying the color object .
Standard_EXPORT void | SetDefaultViewSize (const Quantity_Length Size)
| Gives a default size for the creation of views of the viewer. .
Standard_EXPORT void | SetDefaultViewProj (const V3d_TypeOfOrientation Orientation)
| Gives the default projection for creating views in the viewer. .
Standard_EXPORT void | SetDefaultVisualization (const V3d_TypeOfVisualization Type)
| Gives the default visualisation mode.. .
Standard_EXPORT void | SetZBufferManagment (const Standard_Boolean Automatic)

defines the strategy concerning the ZBuffer activity.
If Automatic is true, ZBuffer will be activated or
deactivated depending on the fact that faces exist or
not in the Viewer. This will optimize the response time
in the case where only wireframe objects are displayed.
If Automatic is False, ZBuffer will be activated or
deactivated depending on the choice of SetVisualization
in each View.
Note that by default, the ZBufferManagment is automatic.

Standard_EXPORT Standard_Boolean | ZBufferManagment () const
| returns the ZBuffer stategy choice.
Standard_EXPORT void | SetDefaultShadingModel (const V3d_TypeOfShadingModel Type)
| Gives the default type of SHADING. .
Standard_EXPORT void | SetDefaultSurfaceDetail (const V3d_TypeOfSurfaceDetail Type)
| Gives the default type of texture mapping. .
Standard_EXPORT void | SetDefaultAngle (const Quantity_PlaneAngle Angle)
Standard_EXPORT void | SetUpdateMode (const V3d_TypeOfUpdate Mode)
| Defines the mode of regenerating the views making up the viewer. This can be immediate <asap> or deferred <wait>. In this latter case, the views are updated when the method Update(me) is called. .
Standard_EXPORT void | SetDefaultTypeOfView (const V3d_TypeOfView Type)
Standard_EXPORT void | SetPrivilegedPlane (const gp_Ax3 &aPlane)
Standard_EXPORT gp_Ax3 | PrivilegedPlane () const
Standard_EXPORT void | DisplayPrivilegedPlane (const Standard_Boolean OnOff, const Quantity_Length aSize=1)
Standard_EXPORT void | SetLightOn (const Handle(V3d_Light)&MyLight)
| Activates MyLight in the viewer. .
Standard_EXPORT void | SetLightOn ()
| Activates all the lights defined in this viewer. .
Standard_EXPORT void | SetLightOff (const Handle(V3d_Light)&MyLight)
| Desactivate MyLight in this viewer. .
Standard_EXPORT void | SetLightOff ()
| Deactivate all the Lights defined in this viewer. .
Standard_EXPORT void | DelLight (const Handle(V3d_Light)&MyLight)
| Delete Light in Sequence Of Lights. .
Standard_EXPORT void | SetCurrentSelectedLight (const Handle(V3d_Light)&TheLight)
| Defines the selected light. .
Standard_EXPORT void | ClearCurrentSelectedLight ()
| Defines the selected light at NULL. .
Standard_EXPORT void | DefaultBackgroundColor (const Quantity_TypeOfColor Type, Quantity_Parameter &V1, Quantity_Parameter &V2, Quantity_Parameter &V3) const
| Returns the default background colour depending of the type. .
Standard_EXPORT Quantity_Color | DefaultBackgroundColor () const
| Returns the default background colour object. .
Standard_EXPORT Quantity_Length | DefaultViewSize () const
| Returns the default size of the view. .
Standard_EXPORT V3d_TypeOfOrientation | DefaultViewProj () const
| Returns the default Projection. .
Standard_EXPORT V3d_TypeOfVisualization | DefaultVisualization () const
| Returns the default type of Visualization. .
Standard_EXPORT V3d_TypeOfShadingModel | DefaultShadingModel () const
| Returns the default type of Shading .
Standard_EXPORT V3d_TypeOfSurfaceDetail | DefaultSurfaceDetail () const
| Returns the default type of texture mapping .
Standard_EXPORT Quantity_PlaneAngle | DefaultAngle () const
Standard_EXPORT V3d_TypeOfUpdate | UpdateMode () const
| Returns the regeneration mode of views in the viewer. .
Standard_EXPORT Standard_Boolean | IfMoreViews () const
| Returns True if One View more can be activated in this Viewer. .
Standard_EXPORT void | InitActiveViews ()
| initializes an iteration on the active views.
Standard_EXPORT Standard_Boolean | MoreActiveViews () const
| returns true if there are more active view(s) to return.
Standard_EXPORT void | NextActiveViews ()
| Go to the next active view (if there is not, ActiveView will raise an exception) .
Standard_EXPORT Handle_V3d_View | ActiveView () const
Standard_EXPORT Standard_Boolean | LastActiveView () const
| returns true if there is only one active view.
Standard_EXPORT void | InitDefinedViews ()
| initializes an iteration on the Defined views.
Standard_EXPORT Standard_Boolean | MoreDefinedViews () const
| returns true if there are more Defined view(s) to return.
Standard_EXPORT void | NextDefinedViews ()
| Go to the next Defined view (if there is not, DefinedView will raise an exception) .
Standard_EXPORT Handle_V3d_View | DefinedView () const
Standard_EXPORT void | InitActiveLights ()
| initializes an iteration on the active Lights.
Standard_EXPORT Standard_Boolean | MoreActiveLights () const
| returns true if there are more active Light(s) to return.
Standard_EXPORT void | NextActiveLights ()
| Go to the next active Light (if there is not, ActiveLight will raise an exception) .
Standard_EXPORT Handle_V3d_Light | ActiveLight () const
Standard_EXPORT void | InitDefinedLights ()
| initializes an iteration on the Defined Lights.
Standard_EXPORT Standard_Boolean | MoreDefinedLights () const
| returns true if there are more Defined Light(s) to return.
Standard_EXPORT void | NextDefinedLights ()
| Go to the next Defined Light (if there is not, DefinedLight will raise an exception) .
Standard_EXPORT Handle_V3d_Light | DefinedLight () const
Standard_EXPORT void | InitDefinedPlanes ()
| initializes an iteration on the Defined Planes.
Standard_EXPORT Standard_Boolean | MoreDefinedPlanes () const
| returns true if there are more Defined Plane(s) to return.
Standard_EXPORT void | NextDefinedPlanes ()
| Go to the next Defined Plane (if there is not, DefinedPlane will raise an exception) .
Standard_EXPORT Handle_V3d_Plane | DefinedPlane () const
Standard_EXPORT Handle_Visual3d_ViewManager | Viewer () const
| Returns the viewer associated to Visual3d . .
Standard_EXPORT Handle_V3d_Light | CurrentSelectedLight () const
| Returns the Selected Light. .
Standard_EXPORT Standard_Boolean | IsGlobalLight (const Handle(V3d_Light)&TheLight) const
Standard_EXPORT Standard_Boolean | ComputedMode () const
| returns true if the computed mode can be used.
Standard_EXPORT Standard_Boolean | DefaultComputedMode () const
| returns true if by default the computed mode must be used.
Standard_EXPORT void | ActivateGrid (const Aspect_GridType aGridType, const Aspect_GridDrawMode aGridDrawMode)
| Activates the grid in all views of <me>. .
Standard_EXPORT void | DeactivateGrid ()
| Deactivates the grid in all views of <me>. .
Standard_EXPORT void | SetGridEcho (const Standard_Boolean showGrid=Standard_True)
| Show/Don't show grid echo to the hit point. If TRUE,the grid echo will be shown at ConvertToGrid() time. .
Standard_EXPORT void | SetGridEcho (const Handle(Graphic3d_AspectMarker3d)&aMarker)
| Show grid echo <amarker> to the hit point. Warning: When the grid echo marker is not set, a default marker is build with the attributes: marker type : Aspect_TOM_STAR marker color : Quantity_NOC_GRAY90 marker size : 3.0 .
Standard_EXPORT Standard_Boolean | GridEcho () const
| Returns TRUE when grid echo must be displayed at hit point. .
Standard_EXPORT Standard_Boolean | IsActive () const
| Returns Standard_True if a grid is activated in <me>. .
Standard_EXPORT Handle_Aspect_Grid | Grid () const
| Returns the defined grid in <me>. .
Standard_EXPORT Aspect_GridType | GridType () const
| Returns the current grid type defined in <me>. .
Standard_EXPORT Aspect_GridDrawMode | GridDrawMode () const
| Returns the current grid draw mode defined in <me>. .
Standard_EXPORT void | RectangularGridValues (Quantity_Length &XOrigin, Quantity_Length &YOrigin, Quantity_Length &XStep, Quantity_Length &YStep, Quantity_PlaneAngle &RotationAngle) const
| Returns the definition of the rectangular grid. .
Standard_EXPORT void | SetRectangularGridValues (const Quantity_Length XOrigin, const Quantity_Length YOrigin, const Quantity_Length XStep, const Quantity_Length YStep, const Quantity_PlaneAngle RotationAngle)
| Sets the definition of the rectangular grid. <xorigin>, <yorigin> defines the origin of the grid. <xstep> defines the interval between 2 vertical lines. <ystep> defines the interval between 2 horizontal lines. <rotationangle> defines the rotation angle of the grid. .
Standard_EXPORT void | CircularGridValues (Quantity_Length &XOrigin, Quantity_Length &YOrigin, Quantity_Length &RadiusStep, Standard_Integer &DivisionNumber, Quantity_PlaneAngle &RotationAngle) const
| Returns the definition of the circular grid. .
Standard_EXPORT void | SetCircularGridValues (const Quantity_Length XOrigin, const Quantity_Length YOrigin, const Quantity_Length RadiusStep, const Standard_Integer DivisionNumber, const Quantity_PlaneAngle RotationAngle)
| Sets the definition of the circular grid. <xorigin>, <yorigin> defines the origin of the grid. <radiusstep> defines the interval between 2 circles. <divisionnumber> defines the section number of one half circle. <rotationangle> defines the rotation angle of the grid. .
Standard_EXPORT void | CircularGridGraphicValues (Quantity_Length &Radius, Quantity_Length &OffSet) const
| Returns the location and the size of the grid. .
Standard_EXPORT void | SetCircularGridGraphicValues (const Quantity_Length Radius, const Quantity_Length OffSet)
| Sets the location and the size of the grid. <xsize> defines the width of the grid. <ysize> defines the height of the grid. <offset> defines the displacement along the plane normal. .
Standard_EXPORT void | RectangularGridGraphicValues (Quantity_Length &XSize, Quantity_Length &YSize, Quantity_Length &OffSet) const
| Returns the location and the size of the grid. .
Standard_EXPORT void | SetRectangularGridGraphicValues (const Quantity_Length XSize, const Quantity_Length YSize, const Quantity_Length OffSet)
| Sets the location and the size of the grid. <xsize> defines the width of the grid. <ysize> defines the height of the grid. <offset> defines the displacement along the plane normal. .
Standard_EXPORT void | SetDefaultLights ()
| defines default lights - positional-light 0.3 0. 0. directional-light V3d_XnegYposZpos directional-light V3d_XnegYneg ambient-light
Standard_EXPORT void | Init ()
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Member Functions

Standard_EXPORT Aspect_Background | GetBackgroundColor () const
| Returns the default background colour. . .
Standard_EXPORT void | AddView (const Handle(V3d_View)&MyView)
| Adds View in Sequence Of Views. .
Standard_EXPORT void | DelView (const Handle(V3d_View)&MyView)
| Delete View in Sequence Of Views. .
Standard_EXPORT void | AddLight (const Handle(V3d_Light)&MyLight)
| Adds Light in Sequence Of Lights. .
Standard_EXPORT void | AddPlane (const Handle(V3d_Plane)&MyPlane)
| Adds Plane in Sequence Of Planes. .
Standard_EXPORT void | DelPlane (const Handle(V3d_Plane)&MyPlane)
| Delete Plane in Sequence Of Planes. .
Standard_EXPORT Standard_Boolean | IsActive (const Handle(V3d_View)&aView) const
Standard_EXPORT void | ShowGridEcho (const Handle(V3d_View)&aView, const Graphic3d_Vertex &aPoint)
| Display grid echo at requested point in the view. .

## Private Attributes

Handle_Visual3d_ViewManager | MyViewer
V3d_ListOfTransient | MyDefinedViews
V3d_ListOfTransient | MyActiveViews
V3d_ListOfTransient | MyDefinedLights
V3d_ListOfTransient | MyActiveLights
V3d_ListOfTransient | MyDefinedPlanes
Aspect_Background | MyBackground
Standard_Real | MyViewSize
V3d_TypeOfOrientation | MyViewProj
V3d_TypeOfVisualization | MyVisualization
V3d_TypeOfShadingModel | MyShadingModel
V3d_TypeOfSurfaceDetail | MySurfaceDetail
Quantity_PlaneAngle | MyDefaultAngle
V3d_TypeOfView | MyDefaultTypeOfView
Handle_V3d_OrthographicView | MyDefaultOrthographicView
Handle_V3d_PerspectiveView | MyDefaultPerspectiveView
Handle_V3d_Light | MyCurrentSelectedLight
TColStd_ListIteratorOfListOfTransient | myActiveViewsIterator
TColStd_ListIteratorOfListOfTransient | myDefinedViewsIterator
TColStd_ListIteratorOfListOfTransient | myActiveLightsIterator
TColStd_ListIteratorOfListOfTransient | myDefinedLightsIterator
TColStd_ListIteratorOfListOfTransient | myDefinedPlanesIterator
Standard_Boolean | myComputedMode
Standard_Boolean | myDefaultComputedMode
gp_Ax3 | myPrivilegedPlane
Handle_Graphic3d_Structure | myPlaneStructure
Standard_Boolean | myDisplayPlane
Quantity_Length | myDisplayPlaneLength
Handle_V3d_RectangularGrid | myRGrid
Handle_V3d_CircularGrid | myCGrid
Aspect_GridType | myGridType
Standard_Boolean | myGridEcho
Handle_Graphic3d_Structure | myGridEchoStructure
Handle_Graphic3d_Group | myGridEchoGroup
Handle_Graphic3d_AspectMarker3d | myGridEchoAspect

## Friends

Standard_EXPORT void | V3d::SetPlane (const Handle(V3d_Viewer)&aViewer, const Quantity_Length x1, const Quantity_Length y1, const Quantity_Length z1, const Quantity_Length x2, const Quantity_Length y2, const Quantity_Length z2)
| test.

## Constructor & Destructor Documentation

Standard_EXPORT V3d_Viewer::V3d_Viewer | ( | const Handle(Aspect_GraphicDevice)& | Device,
|  | const Standard_ExtString | aName,
|  | const Standard_CString | aDomain = `""`,
|  | const Quantity_Length | ViewSize = `1000.0`,
|  | const V3d_TypeOfOrientation | ViewProj = `V3d_XposYnegZpos`,
|  | const Quantity_NameOfColor | ViewBackground = `Quantity_NOC_GRAY30`,
|  | const V3d_TypeOfVisualization | Visualization = `V3d_ZBUFFER`,
|  | const V3d_TypeOfShadingModel | ShadingModel = `V3d_GOURAUD`,
|  | const V3d_TypeOfUpdate | UpdateMode = `V3d_WAIT`,
|  | const Standard_Boolean | ComputedMode = `Standard_True`,
|  | const Standard_Boolean | DefaultComputedMode = `Standard_True`,
|  | const V3d_TypeOfSurfaceDetail | SurfaceDetail = `V3d_TEX_NONE`
| ) |

## Member Function Documentation

Standard_EXPORT void V3d_Viewer::ActivateGrid | ( | const Aspect_GridType | aGridType,
|  | const Aspect_GridDrawMode | aGridDrawMode
| ) |

Standard_EXPORT Handle_V3d_Light V3d_Viewer::ActiveLight | ( |  | ) | const

Standard_EXPORT Handle_V3d_View V3d_Viewer::ActiveView | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::AddLight | ( | const Handle(V3d_Light)& | MyLight | ) | `[private]`

Standard_EXPORT void V3d_Viewer::AddPlane | ( | const Handle(V3d_Plane)& | MyPlane | ) | `[private]`

Standard_EXPORT void V3d_Viewer::AddView | ( | const Handle(V3d_View)& | MyView | ) | `[private]`

Standard_EXPORT void V3d_Viewer::CircularGridGraphicValues | ( | Quantity_Length & | Radius,
|  | Quantity_Length & | OffSet
| ) | const

Standard_EXPORT void V3d_Viewer::CircularGridValues | ( | Quantity_Length & | XOrigin,
|  | Quantity_Length & | YOrigin,
|  | Quantity_Length & | RadiusStep,
|  | Standard_Integer & | DivisionNumber,
|  | Quantity_PlaneAngle & | RotationAngle
| ) | const

Standard_EXPORT void V3d_Viewer::ClearCurrentSelectedLight | ( |  | ) |

Standard_EXPORT Standard_Boolean V3d_Viewer::ComputedMode | ( |  | ) | const

Standard_EXPORT Handle_V3d_View V3d_Viewer::CreateView | ( |  | ) |

Standard_EXPORT Handle_V3d_Light V3d_Viewer::CurrentSelectedLight | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::DeactivateGrid | ( |  | ) |

Standard_EXPORT Quantity_PlaneAngle V3d_Viewer::DefaultAngle | ( |  | ) | const

Standard_EXPORT Quantity_Color V3d_Viewer::DefaultBackgroundColor | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::DefaultBackgroundColor | ( | const Quantity_TypeOfColor | Type,
|  | Quantity_Parameter & | V1,
|  | Quantity_Parameter & | V2,
|  | Quantity_Parameter & | V3
| ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::DefaultComputedMode | ( |  | ) | const

Standard_EXPORT Handle_V3d_OrthographicView V3d_Viewer::DefaultOrthographicView | ( |  | ) |

Standard_EXPORT Handle_V3d_PerspectiveView V3d_Viewer::DefaultPerspectiveView | ( |  | ) |

Standard_EXPORT V3d_TypeOfShadingModel V3d_Viewer::DefaultShadingModel | ( |  | ) | const

Standard_EXPORT V3d_TypeOfSurfaceDetail V3d_Viewer::DefaultSurfaceDetail | ( |  | ) | const

Standard_EXPORT V3d_TypeOfOrientation V3d_Viewer::DefaultViewProj | ( |  | ) | const

Standard_EXPORT Quantity_Length V3d_Viewer::DefaultViewSize | ( |  | ) | const

Standard_EXPORT V3d_TypeOfVisualization V3d_Viewer::DefaultVisualization | ( |  | ) | const

Standard_EXPORT Handle_V3d_Light V3d_Viewer::DefinedLight | ( |  | ) | const

Standard_EXPORT Handle_V3d_Plane V3d_Viewer::DefinedPlane | ( |  | ) | const

Standard_EXPORT Handle_V3d_View V3d_Viewer::DefinedView | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::DelLight | ( | const Handle(V3d_Light)& | MyLight | ) |

Standard_EXPORT void V3d_Viewer::DelPlane | ( | const Handle(V3d_Plane)& | MyPlane | ) | `[private]`

Standard_EXPORT void V3d_Viewer::DelView | ( | const Handle(V3d_View)& | MyView | ) | `[private]`

Standard_EXPORT void V3d_Viewer::DisplayPrivilegedPlane | ( | const Standard_Boolean | OnOff,
|  | const Quantity_Length | aSize = `1`
| ) |

Standard_EXPORT void V3d_Viewer::Erase | ( |  | ) | const

Standard_EXPORT Aspect_Background V3d_Viewer::GetBackgroundColor | ( |  | ) | const`[private]`

Standard_EXPORT Handle_Aspect_Grid V3d_Viewer::Grid | ( |  | ) | const

Standard_EXPORT Aspect_GridDrawMode V3d_Viewer::GridDrawMode | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::GridEcho | ( |  | ) | const

Standard_EXPORT Aspect_GridType V3d_Viewer::GridType | ( |  | ) | const

Standard_EXPORT const V3d_Viewer::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from Viewer_Viewer.

Standard_EXPORT Standard_Boolean V3d_Viewer::IfMoreViews | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::Init | ( |  | ) |

Standard_EXPORT void V3d_Viewer::InitActiveLights | ( |  | ) |

Standard_EXPORT void V3d_Viewer::InitActiveViews | ( |  | ) |

Standard_EXPORT void V3d_Viewer::InitDefinedLights | ( |  | ) |

Standard_EXPORT void V3d_Viewer::InitDefinedPlanes | ( |  | ) |

Standard_EXPORT void V3d_Viewer::InitDefinedViews | ( |  | ) |

Standard_EXPORT Standard_Boolean V3d_Viewer::IsActive | ( | const Handle(V3d_View)& | aView | ) | const`[private]`

Standard_EXPORT Standard_Boolean V3d_Viewer::IsActive | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::IsGlobalLight | ( | const Handle(V3d_Light)& | TheLight | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::LastActiveView | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::MoreActiveLights | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::MoreActiveViews | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::MoreDefinedLights | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::MoreDefinedPlanes | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::MoreDefinedViews | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::NextActiveLights | ( |  | ) |

Standard_EXPORT void V3d_Viewer::NextActiveViews | ( |  | ) |

Standard_EXPORT void V3d_Viewer::NextDefinedLights | ( |  | ) |

Standard_EXPORT void V3d_Viewer::NextDefinedPlanes | ( |  | ) |

Standard_EXPORT void V3d_Viewer::NextDefinedViews | ( |  | ) |

Standard_EXPORT gp_Ax3 V3d_Viewer::PrivilegedPlane | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::RectangularGridGraphicValues | ( | Quantity_Length & | XSize,
|  | Quantity_Length & | YSize,
|  | Quantity_Length & | OffSet
| ) | const

Standard_EXPORT void V3d_Viewer::RectangularGridValues | ( | Quantity_Length & | XOrigin,
|  | Quantity_Length & | YOrigin,
|  | Quantity_Length & | XStep,
|  | Quantity_Length & | YStep,
|  | Quantity_PlaneAngle & | RotationAngle
| ) | const

Standard_EXPORT void V3d_Viewer::Redraw | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::Remove | ( |  | ) |

Standard_EXPORT void V3d_Viewer::SetCircularGridGraphicValues | ( | const Quantity_Length | Radius,
|  | const Quantity_Length | OffSet
| ) |

Standard_EXPORT void V3d_Viewer::SetCircularGridValues | ( | const Quantity_Length | XOrigin,
|  | const Quantity_Length | YOrigin,
|  | const Quantity_Length | RadiusStep,
|  | const Standard_Integer | DivisionNumber,
|  | const Quantity_PlaneAngle | RotationAngle
| ) |

Standard_EXPORT void V3d_Viewer::SetCurrentSelectedLight | ( | const Handle(V3d_Light)& | TheLight | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultAngle | ( | const Quantity_PlaneAngle | Angle | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultBackgroundColor | ( | const Quantity_Color & | Color | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultBackgroundColor | ( | const Quantity_NameOfColor | Name | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultBackgroundColor | ( | const Quantity_TypeOfColor | Type,
|  | const Quantity_Parameter | V1,
|  | const Quantity_Parameter | V2,
|  | const Quantity_Parameter | V3
| ) |

Standard_EXPORT void V3d_Viewer::SetDefaultLights | ( |  | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultShadingModel | ( | const V3d_TypeOfShadingModel | Type | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultSurfaceDetail | ( | const V3d_TypeOfSurfaceDetail | Type | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultTypeOfView | ( | const V3d_TypeOfView | Type | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultViewProj | ( | const V3d_TypeOfOrientation | Orientation | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultViewSize | ( | const Quantity_Length | Size | ) |

Standard_EXPORT void V3d_Viewer::SetDefaultVisualization | ( | const V3d_TypeOfVisualization | Type | ) |

Standard_EXPORT void V3d_Viewer::SetGridEcho | ( | const Handle(Graphic3d_AspectMarker3d)& | aMarker | ) |

Standard_EXPORT void V3d_Viewer::SetGridEcho | ( | const Standard_Boolean | showGrid = `Standard_True` | ) |

Standard_EXPORT void V3d_Viewer::SetLightOff | ( |  | ) |

Standard_EXPORT void V3d_Viewer::SetLightOff | ( | const Handle(V3d_Light)& | MyLight | ) |

Standard_EXPORT void V3d_Viewer::SetLightOn | ( |  | ) |

Standard_EXPORT void V3d_Viewer::SetLightOn | ( | const Handle(V3d_Light)& | MyLight | ) |

Standard_EXPORT void V3d_Viewer::SetPrivilegedPlane | ( | const gp_Ax3 & | aPlane | ) |

Standard_EXPORT void V3d_Viewer::SetRectangularGridGraphicValues | ( | const Quantity_Length | XSize,
|  | const Quantity_Length | YSize,
|  | const Quantity_Length | OffSet
| ) |

Standard_EXPORT void V3d_Viewer::SetRectangularGridValues | ( | const Quantity_Length | XOrigin,
|  | const Quantity_Length | YOrigin,
|  | const Quantity_Length | XStep,
|  | const Quantity_Length | YStep,
|  | const Quantity_PlaneAngle | RotationAngle
| ) |

Standard_EXPORT void V3d_Viewer::SetUpdateMode | ( | const V3d_TypeOfUpdate | Mode | ) |

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 | ( |  | ) |

Standard_EXPORT void V3d_Viewer::SetZBufferManagment | ( | const Standard_Boolean | Automatic | ) |

Standard_EXPORT void V3d_Viewer::ShowGridEcho | ( | const Handle(V3d_View)& | aView,
|  | const Graphic3d_Vertex & | aPoint
| ) | `[private]`

Standard_EXPORT void V3d_Viewer::UnHighlight | ( |  | ) | const

Standard_EXPORT void V3d_Viewer::Update | ( |  | ) | `[virtual]`

| Implements Viewer_Viewer.

Standard_EXPORT void V3d_Viewer::UpdateLights | ( |  | ) |

Standard_EXPORT V3d_TypeOfUpdate V3d_Viewer::UpdateMode | ( |  | ) | const

Standard_EXPORT Handle_Visual3d_ViewManager V3d_Viewer::Viewer | ( |  | ) | const

Standard_EXPORT Standard_Boolean V3d_Viewer::ZBufferManagment | ( |  | ) | const

## Friends And Related Function Documentation

Standard_EXPORT void V3d::SetPlane | ( | const Handle(V3d_Viewer)& | aViewer,
|  | const Quantity_Length | x1,
|  | const Quantity_Length | y1,
|  | const Quantity_Length | z1,
|  | const Quantity_Length | x2,
|  | const Quantity_Length | y2,
|  | const Quantity_Length | z2
| ) | `[friend]`

## Field Documentation

V3d_ListOfTransient V3d_Viewer::MyActiveLights `[private]`

TColStd_ListIteratorOfListOfTransient V3d_Viewer::myActiveLightsIterator `[private]`

V3d_ListOfTransient V3d_Viewer::MyActiveViews `[private]`

TColStd_ListIteratorOfListOfTransient V3d_Viewer::myActiveViewsIterator `[private]`

Aspect_Background V3d_Viewer::MyBackground `[private]`

Handle_V3d_CircularGrid V3d_Viewer::myCGrid `[private]`

Standard_Boolean V3d_Viewer::myComputedMode `[private]`

Handle_V3d_Light V3d_Viewer::MyCurrentSelectedLight `[private]`

Quantity_PlaneAngle V3d_Viewer::MyDefaultAngle `[private]`

Standard_Boolean V3d_Viewer::myDefaultComputedMode `[private]`

Handle_V3d_OrthographicView V3d_Viewer::MyDefaultOrthographicView `[private]`

Handle_V3d_PerspectiveView V3d_Viewer::MyDefaultPerspectiveView `[private]`

V3d_TypeOfView V3d_Viewer::MyDefaultTypeOfView `[private]`

V3d_ListOfTransient V3d_Viewer::MyDefinedLights `[private]`

TColStd_ListIteratorOfListOfTransient V3d_Viewer::myDefinedLightsIterator `[private]`

V3d_ListOfTransient V3d_Viewer::MyDefinedPlanes `[private]`

TColStd_ListIteratorOfListOfTransient V3d_Viewer::myDefinedPlanesIterator `[private]`

V3d_ListOfTransient V3d_Viewer::MyDefinedViews `[private]`

TColStd_ListIteratorOfListOfTransient V3d_Viewer::myDefinedViewsIterator `[private]`

Standard_Boolean V3d_Viewer::myDisplayPlane `[private]`

Quantity_Length V3d_Viewer::myDisplayPlaneLength `[private]`

Standard_Boolean V3d_Viewer::myGridEcho `[private]`

Handle_Graphic3d_AspectMarker3d V3d_Viewer::myGridEchoAspect `[private]`

Handle_Graphic3d_Group V3d_Viewer::myGridEchoGroup `[private]`

Handle_Graphic3d_Structure V3d_Viewer::myGridEchoStructure `[private]`

Aspect_GridType V3d_Viewer::myGridType `[private]`

Handle_Graphic3d_Structure V3d_Viewer::myPlaneStructure `[private]`

gp_Ax3 V3d_Viewer::myPrivilegedPlane `[private]`

Handle_V3d_RectangularGrid V3d_Viewer::myRGrid `[private]`

V3d_TypeOfShadingModel V3d_Viewer::MyShadingModel `[private]`

V3d_TypeOfSurfaceDetail V3d_Viewer::MySurfaceDetail `[private]`

Handle_Visual3d_ViewManager V3d_Viewer::MyViewer `[private]`

V3d_TypeOfOrientation V3d_Viewer::MyViewProj `[private]`

Standard_Real V3d_Viewer::MyViewSize `[private]`

V3d_TypeOfVisualization V3d_Viewer::MyVisualization `[private]`

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

- V3d_Viewer.hxx