#include <Graphic3d_StructureManager.hxx>
Inheritance diagram for Graphic3d_StructureManager:
Public Member Functions | |
virtual Standard_EXPORT void | Destroy () |
Deletes the manager <me>. . | |
~Graphic3d_StructureManager () | |
Standard_EXPORT void | SetPrimitivesAspect (const Handle(Graphic3d_AspectLine3d)&CTX) |
Modifies the default attributes for lines in the visualiser. . | |
Standard_EXPORT void | SetPrimitivesAspect (const Handle(Graphic3d_AspectFillArea3d)&CTX) |
Modifies the default attributes for faces in the visualiser. . | |
Standard_EXPORT void | SetPrimitivesAspect (const Handle(Graphic3d_AspectText3d)&CTX) |
Modifies the default attributes for text in the visualiser. . | |
Standard_EXPORT void | SetPrimitivesAspect (const Handle(Graphic3d_AspectMarker3d)&CTX) |
Modifies the default attributes for markers in the visualiser. . | |
Standard_EXPORT void | SetUpdateMode (const Aspect_TypeOfUpdate AType) |
Modifies the screen update mode. . | |
virtual Standard_EXPORT void | Update () const =0 |
Updates screen in function of modifications of the structures. Warning: Not necessary if the update mode is TOU_ASAP. . | |
Standard_EXPORT void | DisplayedStructures (Graphic3d_MapOfStructure &SG) const |
Returns the set of structures displayed in visualiser <me>. . | |
Standard_EXPORT void | HighlightedStructures (Graphic3d_MapOfStructure &SG) const |
Returns the set of highlighted structures in a visualiser <me>. . | |
Standard_EXPORT void | PickStructures (Graphic3d_MapOfStructure &SG) const |
Returns the set of detectable structures in a visualiser <me>. . | |
Standard_EXPORT void | VisibleStructures (Graphic3d_MapOfStructure &SG) const |
Returns the set of visible structures in a visualiser <me>. . | |
Standard_EXPORT Handle_Graphic3d_AspectFillArea3d | FillArea3dAspect () const |
Returns the values of the current default attributes. . | |
Standard_EXPORT Handle_Graphic3d_AspectLine3d | Line3dAspect () const |
Returns the values of the current default attributes. . | |
Standard_EXPORT Handle_Graphic3d_AspectMarker3d | Marker3dAspect () const |
Returns the values of the current default attributes. . | |
Standard_EXPORT void | MinMaxValues (Standard_Real &XMin, Standard_Real &YMin, Standard_Real &ZMin, Standard_Real &XMax, Standard_Real &YMax, Standard_Real &ZMax) const |
Returns the coordinates of the boundary box of all structures displayed in the manager <me>. . | |
Standard_EXPORT void | PrimitivesAspect (Handle(Graphic3d_AspectLine3d)&CTXL, Handle(Graphic3d_AspectText3d)&CTXT, Handle(Graphic3d_AspectMarker3d)&CTXM, Handle(Graphic3d_AspectFillArea3d)&CTXF) const |
Returns the values of the current default attributes. . | |
Standard_EXPORT Handle_Graphic3d_AspectText3d | Text3dAspect () const |
Returns the values of the current default attributes. . | |
Standard_EXPORT Aspect_TypeOfUpdate | UpdateMode () const |
Returns the screen update mode. . | |
virtual Standard_EXPORT void | ChangeDisplayPriority (const Handle(Graphic3d_Structure)&AStructure, const Standard_Integer OldPriority, const Standard_Integer NewPriority)=0 |
Changes the display priority of the structure <astructure>. . | |
virtual Standard_EXPORT void | ReCompute (const Handle(Graphic3d_Structure)&AStructure)=0 |
Forces a new construction of the structure <astructure> if <astructure> is displayed and TOS_COMPUTED. . | |
virtual Standard_EXPORT void | ReCompute (const Handle(Graphic3d_Structure)&AStructure, const Handle(Graphic3d_DataStructureManager)&AProjector)=0 |
Forces a new construction of the structure <astructure> if <astructure> is displayed in <aprojector> and TOS_COMPUTED. . | |
virtual Standard_EXPORT void | Clear (const Handle(Graphic3d_Structure)&AStructure, const Standard_Boolean WithDestruction)=0 |
Clears the structure <astructure>. . | |
virtual Standard_EXPORT void | Connect (const Handle(Graphic3d_Structure)&AMother, const Handle(Graphic3d_Structure)&ADaughter)=0 |
Connects the structures <amother> and <adaughter>. . | |
virtual Standard_EXPORT void | Disconnect (const Handle(Graphic3d_Structure)&AMother, const Handle(Graphic3d_Structure)&ADaughter)=0 |
Disconnects the structures <amother> and <adaughter>. . | |
virtual Standard_EXPORT void | Display (const Handle(Graphic3d_Structure)&AStructure)=0 |
Display the structure <astructure>. . | |
virtual Standard_EXPORT void | Erase (const Handle(Graphic3d_Structure)&AStructure)=0 |
Erases the structure <astructure>. . | |
virtual Standard_EXPORT void | Highlight (const Handle(Graphic3d_Structure)&AStructure, const Aspect_TypeOfHighlightMethod AMethod)=0 |
Highlights the structure <astructure>. . | |
virtual Standard_EXPORT void | SetTransform (const Handle(Graphic3d_Structure)&AStructure, const TColStd_Array2OfReal &ATrsf)=0 |
Transforms the structure <astructure>. . | |
Standard_EXPORT Handle_Aspect_GraphicDevice | GraphicDevice () const |
Returns the graphic device of <me>. . | |
virtual Standard_EXPORT Standard_Integer | Identification () const |
Returns the identification number of the manager. . | |
virtual Standard_EXPORT Handle_Graphic3d_Structure | Identification (const Standard_Integer AId) const |
Returns the structure with the identification number <aid>. . | |
virtual Standard_EXPORT void | UnHighlight ()=0 |
Suppresses the highlighting on all the structures in <me>. . | |
virtual Standard_EXPORT void | UnHighlight (const Handle(Graphic3d_Structure)&AStructure)=0 |
Suppress the highlighting on the structure <astructure>. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Public Member Functions | |
static Standard_EXPORT Standard_Integer | Limit () |
Returns maximum number of managers defineable. . | |
static Standard_EXPORT Standard_Integer | CurrentId () |
Returns a current identifier available. . | |
Protected Member Functions | |
Standard_EXPORT | Graphic3d_StructureManager (const Handle(Aspect_GraphicDevice)&aDevice) |
Initialise the constructor of the ViewManager. Warning: Raises InitialisationError if the initialisation of the ViewManager failed. . | |
Standard_EXPORT Standard_Integer | NumberOfDisplayedStructures () const |
Returns the number of structures displayed in visualiser <me>. //! Returns the structure displayed in visualiser <me>. . | |
Protected Attributes | |
Standard_Integer | MyId |
Aspect_TypeOfUpdate | MyUpdateMode |
Handle_Graphic3d_AspectLine3d | MyAspectLine3d |
Handle_Graphic3d_AspectText3d | MyAspectText3d |
Handle_Graphic3d_AspectMarker3d | MyAspectMarker3d |
Handle_Graphic3d_AspectFillArea3d | MyAspectFillArea3d |
Graphic3d_MapOfStructure | MyDisplayedStructure |
Graphic3d_MapOfStructure | MyHighlightedStructure |
Graphic3d_MapOfStructure | MyVisibleStructure |
Graphic3d_MapOfStructure | MyPickStructure |
Aspect_GenId | MyStructGenId |
Handle_Aspect_GraphicDevice | MyGraphicDevice |
Private Member Functions | |
Standard_EXPORT void | Detectable (const Handle(Graphic3d_Structure)&AStructure) |
Sets detectable the structure <astructure>. . | |
Standard_EXPORT void | Invisible (const Handle(Graphic3d_Structure)&AStructure) |
Sets invisible the structure <astructure>. . | |
Standard_EXPORT Standard_Integer | NewIdentification () |
Returns a new identification number for a new structure in the manager. . | |
Standard_EXPORT void | Remove (const Standard_Integer AnId) |
Frees the identifieur <anid>. . | |
Standard_EXPORT void | Undetectable (const Handle(Graphic3d_Structure)&AStructure) |
Sets no detectable the structure <astructure>. . | |
Standard_EXPORT void | Visible (const Handle(Graphic3d_Structure)&AStructure) |
Sets visible the structure <astructure>. in the manager. . |
|
|
|
|
|
Implemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
|
|
Reimplemented in Visual3d_ViewManager. |
|
|
|
Implemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
|
|
Implemented in Visual3d_ViewManager. |
|
|
|
|
|
Reimplemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
|
|
Reimplemented in Visual3d_ViewManager. |
|
Reimplemented in Visual3d_ViewManager. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
|
|
|
|
|
|
|
|
|
|
Implemented in Visual3d_ViewManager. |
|
|
|
|
|
|
|
Implemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
Implemented in Visual3d_ViewManager. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|