#include <Visual3d_ViewManager.hxx>
Inheritance diagram for Visual3d_ViewManager:
Public Member Functions | |
Standard_EXPORT | Visual3d_ViewManager (const Handle(Aspect_GraphicDevice)&aDevice) |
Creates a 3D visualizer. . | |
Standard_EXPORT void | Activate () |
Activates all the views of the manager <me>. . | |
Standard_EXPORT void | Deactivate () |
Deactivates all the views of the manager <me>. . | |
virtual Standard_EXPORT void | Destroy () |
Deletes and erases the 3D visualiser <me>. . | |
~Visual3d_ViewManager () | |
Standard_EXPORT void | Erase () |
Erases all of the structures displayed in the visualiser <me>. . | |
Standard_EXPORT void | Redraw () const |
Redraws all the displayed structures. . | |
Standard_EXPORT void | Remove () |
Deletes and erases the 3D visualiser <me>. . | |
Standard_EXPORT void | Update () const |
Updates screen in function of modifications of the structures. Category: Methods to modify the class definition Warning: Not necessary if the update mode is TOU_ASAP. . | |
Standard_EXPORT Handle_Visual3d_HSetOfView | ActivatedView () const |
Returns the group of views activated in the visualiser <me>. . | |
Standard_EXPORT void | ConvertCoord (const Handle(Aspect_Window)&AWindow, const Graphic3d_Vertex &AVertex, Standard_Integer &AU, Standard_Integer &AV) const |
Applies the view orientation transformation, the view mapping transformation and view clip, the display transformation to the vertex <avertex>. Returns the pixel coordinates <au>, <av>. Warning: Returns <au> = <av> = IntegerLast () if the evaluation is impossible. -- Bad Window, Numeric error... . | |
Standard_EXPORT Graphic3d_Vertex | ConvertCoord (const Handle(Aspect_Window)&AWindow, const Standard_Integer AU, const Standard_Integer AV) const |
Applies the inverse of the display transformation, the inverse of the view mapping transformation and view clip, the inverse of the view orientation transformation to the pixel coordinates <au>, <av>. Returns the world coordinates <avertex>. Warning: Returns AVertex (X, Y, Z) with X = Y = Z = RealLast () if the evaluation is impossible. -- Bad Window, Numeric error... . | |
Standard_EXPORT void | ConvertCoordWithProj (const Handle(Aspect_Window)&AWindow, const Standard_Integer AU, const Standard_Integer AV, Graphic3d_Vertex &Point, Graphic3d_Vector &Proj) const |
Applies the inverse of the display transformation, the inverse of the view mapping transformation and view clip, the inverse of the view orientation transformation to the pixel coordinates <au>, <av>. Returns the world coordinates <avertex> and projection ray <avector>. Warning: Returns AVertex (X, Y, Z) with X = Y = Z = RealLast () and AVector (VX, VY, VZ) with VX = VY = VZ = 0. if the evaluation is impossible. -- Bad Window, Numeric error... . | |
Standard_EXPORT Handle_Visual3d_HSetOfView | DefinedView () const |
Returns the group of views defined in the visualiser <me>. . | |
Standard_EXPORT Standard_Integer | MaxNumOfViews () const |
Returns the theoretical maximum number of definable views in the view manager <me>. Warning: It's not possible to accept an infinite number of definable views because each view must have an identification and we have different view managers. . | |
Standard_EXPORT Standard_Integer | Identification (const Handle(Visual3d_View)&AView) |
Returns : a new identification number for a new view in the visualiser. . | |
Standard_EXPORT Visual3d_PickDescriptor | Pick (const Visual3d_ContextPick &CTX, const Handle(Aspect_Window)&AWindow, const Standard_Integer AX, const Standard_Integer AY) |
Returns a graphic pick with the pick context <ctx> at the coordinates <ax>, <ay> in the window <awindow>. . | |
Standard_EXPORT Handle_Graphic3d_Structure | Identification (const Standard_Integer AId) const |
Returns the structure with the identification number <aid>. . | |
Standard_EXPORT Standard_Integer | Identification () const |
Returns the identification number of the visualiser. . | |
Standard_EXPORT void | ChangeDisplayPriority (const Handle(Graphic3d_Structure)&AStructure, const Standard_Integer OldPriority, const Standard_Integer NewPriority) |
Changes the display priority of the structure <astructure>. . | |
Standard_EXPORT void | Clear (const Handle(Graphic3d_Structure)&AStructure, const Standard_Boolean WithDestruction) |
Clears the structure <astructure>. . | |
Standard_EXPORT void | Connect (const Handle(Graphic3d_Structure)&AMother, const Handle(Graphic3d_Structure)&ADaughter) |
Connects the structures <amother> and <adaughter>. . | |
Standard_EXPORT void | Disconnect (const Handle(Graphic3d_Structure)&AMother, const Handle(Graphic3d_Structure)&ADaughter) |
Disconnects the structures <amother> and <adaughter>. . | |
Standard_EXPORT void | Display (const Handle(Graphic3d_Structure)&AStructure) |
Display of the structure <astructure>. . | |
Standard_EXPORT void | Erase (const Handle(Graphic3d_Structure)&AStructure) |
Erases the structure <astructure>. . | |
Standard_EXPORT void | Highlight (const Handle(Graphic3d_Structure)&AStructure, const Aspect_TypeOfHighlightMethod AMethod) |
Highlights the structure <astructure>. . | |
Standard_EXPORT void | SetTransform (const Handle(Graphic3d_Structure)&AStructure, const TColStd_Array2OfReal &ATrsf) |
Transforms the structure <astructure>. . | |
Standard_EXPORT void | UnHighlight () |
Suppress the highlighting on all the structures. . | |
Standard_EXPORT void | UnHighlight (const Handle(Graphic3d_Structure)&AStructure) |
Suppress the highlighting on the structure <astructure>. . | |
Standard_EXPORT Standard_Boolean | ViewExists (const Handle(Aspect_Window)&AWindow, Graphic3d_CView &TheCView) const |
Returns Standard_True if the view associated to the window <awindow> exists and is activated. <theviewid> contains the internal identification of the associated view. . | |
Standard_EXPORT const Handle_Visual3d_Layer & | UnderLayer () const |
Returns the underlay of the viewer <me>. . | |
Standard_EXPORT const Handle_Visual3d_Layer & | OverLayer () const |
Returns the underlay of the viewer <me>. . | |
Standard_EXPORT void | ReCompute (const Handle(Graphic3d_Structure)&AStructure) |
Forces a new construction of the structure <astructure> if <astructure> is displayed and TOS_COMPUTED. . | |
Standard_EXPORT void | ReCompute (const Handle(Graphic3d_Structure)&AStructure, const Handle(Graphic3d_DataStructureManager)&AProjector) |
Forces a new construction of the structure <astructure> if <astructure> is displayed in <aprojector> and TOS_COMPUTED. . | |
Standard_EXPORT Standard_Boolean | Transparency () const |
Returns Standard_True if the transparency is activated in all activated views. Default Standard_False . | |
Standard_EXPORT void | SetTransparency (const Standard_Boolean AFlag) |
if <aflag> is Standard_True then the transparency is managed. Default Standard_False | |
Standard_EXPORT Standard_Boolean | ZBufferAuto () const |
Returns Standard_True if the zbuffer activity is managed automatically. Default Standard_False . | |
Standard_EXPORT void | SetZBufferAuto (const Standard_Boolean AFlag) |
if <aflag> is Standard_True then the zbuffer activity is managed automatically. Default Standard_False | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Member Functions | |
Standard_EXPORT void | SetLayer (const Handle(Visual3d_Layer)&ALayer) |
Adds a new layer in all the views of <me>. . | |
Private Attributes | |
Visual3d_SetOfView | MyDefinedView |
Handle_Visual3d_Layer | MyUnderLayer |
Handle_Visual3d_Layer | MyOverLayer |
Aspect_GenId | MyViewGenId |
Handle_Graphic3d_GraphicDriver | MyGraphicDriver |
Standard_Boolean | MyZBufferAuto |
Standard_Boolean | MyTransparency |
|
|
|
|
|
|
|
|
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
|
|
Reimplemented from Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
Reimplemented from Graphic3d_StructureManager. |
|
Reimplemented from Graphic3d_StructureManager. |
|
|
|
|
|
|
|
|
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
|
|
|
|
|
|
Implements Graphic3d_StructureManager. |
|
|
|
|
|
|
|
|
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
Implements Graphic3d_StructureManager. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|