|
| | OpenGl_Group (const Handle< Graphic3d_Structure > &theStruct) |
| | Create empty group. Will throw exception if not created by OpenGl_Structure. More...
|
| |
| virtual void | Clear (const Standard_Boolean theToUpdateStructureMgr) override |
| | Suppress all primitives and attributes of <me>. To clear group without update in Graphic3d_StructureManager pass Standard_False as <theUpdateStructureMgr>. This used on context and viewer destruction, when the pointer to structure manager in Graphic3d_Structure could be already released (pointers are used here to avoid handle cross-reference);. More...
|
| |
| virtual Handle< Graphic3d_Aspects > | Aspects () const override |
| | Return line aspect. More...
|
| |
| bool | HasPersistence () const |
| | Return TRUE if group contains primitives with transform persistence. More...
|
| |
| virtual void | SetGroupPrimitivesAspect (const Handle< Graphic3d_Aspects > &theAspect) override |
| | Update aspect. More...
|
| |
| virtual void | SetPrimitivesAspect (const Handle< Graphic3d_Aspects > &theAspect) override |
| | Append aspect as an element. More...
|
| |
| virtual void | SynchronizeAspects () override |
| | Update presentation aspects after their modification. More...
|
| |
| virtual void | ReplaceAspects (const Graphic3d_MapOfAspectsToAspects &theMap) override |
| | Replace aspects specified in the replacement map. More...
|
| |
| virtual void | AddPrimitiveArray (const Graphic3d_TypeOfPrimitiveArray theType, const Handle< Graphic3d_IndexBuffer > &theIndices, const Handle< Graphic3d_Buffer > &theAttribs, const Handle< Graphic3d_BoundBuffer > &theBounds, const Standard_Boolean theToEvalMinMax) override |
| | Add primitive array element. More...
|
| |
| virtual void | AddText (const Handle< Graphic3d_Text > &theTextParams, const Standard_Boolean theToEvalMinMax) override |
| | Adds a text for display. More...
|
| |
| virtual void | SetFlippingOptions (const Standard_Boolean theIsEnabled, const gp_Ax2 &theRefPlane) override |
| | Add flipping element. More...
|
| |
| virtual void | SetStencilTestOptions (const Standard_Boolean theIsEnabled) override |
| | Add stencil test element. More...
|
| |
| OpenGl_Structure * | GlStruct () const |
| |
| void | AddElement (OpenGl_Element *theElem) |
| |
| virtual void | Render (const Handle< OpenGl_Workspace > &theWorkspace) const |
| |
| virtual void | Release (const Handle< OpenGl_Context > &theGlCtx) |
| |
| const OpenGl_ElementNode * | FirstNode () const |
| | Returns first OpenGL element node of the group. More...
|
| |
| const OpenGl_Aspects * | GlAspects () const |
| | Returns OpenGL aspect. More...
|
| |
| Standard_Boolean | IsRaytracable () const |
| | Is the group ray-tracable (contains ray-tracable elements)? More...
|
| |
| virtual void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const override |
| | Dumps the content of me into the stream. More...
|
| |
| virtual | ~Graphic3d_Group () |
| | Suppress the group <me> in the structure. More...
|
| |
| void | Remove () |
| | Suppress the group <me> in the structure. Warning: No more graphic operations in <me> after this call. Modifies the current modelling transform persistence (pan, zoom or rotate) Get the current modelling transform persistence (pan, zoom or rotate) More...
|
| |
| void | AddPrimitiveArray (const Handle< Graphic3d_ArrayOfPrimitives > &thePrim, const Standard_Boolean theToEvalMinMax=Standard_True) |
| | Adds an array of primitives for display. More...
|
| |
| const gp_Trsf & | Transformation () const |
| | Return transformation. More...
|
| |
| virtual void | SetTransformation (const gp_Trsf &theTrsf) |
| | Assign transformation. More...
|
| |
| const Handle< Graphic3d_TransformPers > & | TransformPersistence () const |
| | Return transformation persistence. More...
|
| |
| virtual void | SetTransformPersistence (const Handle< Graphic3d_TransformPers > &theTrsfPers) |
| | Set transformation persistence. More...
|
| |
| Standard_Boolean | IsDeleted () const |
| | Returns Standard_True if the group <me> is deleted. <me> is deleted after the call Remove (me) or the associated structure is deleted. More...
|
| |
| Standard_Boolean | IsEmpty () const |
| | Returns Standard_True if the group <me> is empty. More...
|
| |
| void | MinMaxValues (Standard_Real &theXMin, Standard_Real &theYMin, Standard_Real &theZMin, Standard_Real &theXMax, Standard_Real &theYMax, Standard_Real &theZMax) const |
| | Returns the coordinates of the boundary box of the group. More...
|
| |
| void | SetMinMaxValues (const Standard_Real theXMin, const Standard_Real theYMin, const Standard_Real theZMin, const Standard_Real theXMax, const Standard_Real theYMax, const Standard_Real theZMax) |
| | Sets the coordinates of the boundary box of the group. More...
|
| |
| const Graphic3d_BndBox4f & | BoundingBox () const |
| | Returns boundary box of the group <me> without transformation applied,. More...
|
| |
| Graphic3d_BndBox4f & | ChangeBoundingBox () |
| | Returns non-const boundary box of the group <me> without transformation applied,. More...
|
| |
| Handle< Graphic3d_Structure > | Structure () const |
| | Returns the structure containing the group <me>. More...
|
| |
| void | SetClosed (const bool theIsClosed) |
| | Changes property shown that primitive arrays within this group form closed volume (do no contain open shells). More...
|
| |
| bool | IsClosed () const |
| | Return true if primitive arrays within this graphic group form closed volume (do no contain open shells). More...
|
| |
| Deprecated method | Marker () |
| |
| Deprecated method pass Graphic3d_ArrayOfPoints to | AddPrimitiveArray () instead") 1 void Marker( const Graphic3d_Vertex& thePoint |
| | current transform persistence More...
|
| |
| Deprecated method | Text () with obsolete arguments |
| | Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). AAngle : Orientation of the text (with respect to the horizontal). More...
|
| |
| Deprecated method use | AddText () instead of it") 1 virtual void Text( const Standard_CString AText |
| | current transform persistence More...
|
| |
| Deprecated method | Text () with obsolete arguments |
| | Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). The other attributes have the following default values: AAngle : PI / 2. ATp : TP_RIGHT AHta : HTA_LEFT AVta : VTA_BOTTOM. More...
|
| |
| Deprecated method use | AddText () instead of it") 1 void Text( const Standard_CString AText |
| | current transform persistence More...
|
| |
| Deprecated method | Text () with obsolete arguments |
| | Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). AAngle : Orientation of the text (with respect to the horizontal). More...
|
| |
| Deprecated method use | AddText () instead of it") 1 void Text( const TCollection_ExtendedString& AText |
| | current transform persistence More...
|
| |
| Deprecated method | Text () with obsolete arguments |
| | Creates the string <AText> at position <APoint>. The 3D point of attachment is projected. The text is written in the plane of projection. The attributes are given with respect to the plane of projection. AHeight : Height of text. (Relative to the Normalized Projection Coordinates (NPC) Space). The other attributes have the following default values: AAngle : PI / 2. ATp : TP_RIGHT AHta : HTA_LEFT AVta : VTA_BOTTOM. More...
|
| |
| Deprecated method use | AddText () instead of it") 1 void Text( const TCollection_ExtendedString& AText |
| | current transform persistence More...
|
| |
| Deprecated method | Text () with obsolete arguments |
| | Creates the string <theText> at orientation <theOrientation> in 3D space. More...
|
| |
| Deprecated method use | AddText () instead of it") 1 virtual void Text( const Standard_CString theTextUtf |
| | current transform persistence More...
|
| |
| Deprecated method | Text () with obsolete arguments |
| | Creates the string <theText> at orientation <theOrientation> in 3D space. More...
|
| |
| Deprecated method use | AddText () instead of it") 1 virtual void Text( const TCollection_ExtendedString& theText |
| | current transform persistence More...
|
| |
Public Member Functions inherited from Standard_Transient |
| | Standard_Transient () |
| | Empty constructor. More...
|
| |
| | Standard_Transient (const Standard_Transient &) |
| | Copy constructor – does nothing. More...
|
| |
| Standard_Transient & | operator= (const Standard_Transient &) |
| | Assignment operator, needed to avoid copying reference counter. More...
|
| |
| virtual | ~Standard_Transient () |
| | Destructor must be virtual. More...
|
| |
| virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| | Returns a type descriptor about this object. More...
|
| |
| Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| | Returns a true value if this is an instance of Type. More...
|
| |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| | Returns a true value if this is an instance of TypeName. More...
|
| |
| Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| | Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
| |
| Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| | Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
| |
| Standard_Transient * | This () const |
| | Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
|
| |
| Standard_Integer | GetRefCount () const noexcept |
| | Get the reference counter of this object. More...
|
| |
| void | IncrementRefCounter () noexcept |
| | Increments the reference counter of this object. More...
|
| |
| Standard_Integer | DecrementRefCounter () noexcept |
| | Decrements the reference counter of this object; returns the decremented value. More...
|
| |
| virtual void | Delete () const |
| | Memory deallocator for transient classes. More...
|
| |
Implementation of low-level graphic group.