| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
Class for presentation of trihedron object. More...
#include <V3d_Trihedron.hxx>

Public Member Functions | |
| V3d_Trihedron () | |
| Creates a default trihedron.   | |
| virtual | ~V3d_Trihedron () | 
| Destructor.   | |
| bool | IsWireframe () const | 
| Return TRUE if wireframe presentation is set; FALSE by default.   | |
| void | SetWireframe (const Standard_Boolean theAsWireframe) | 
| Switch wireframe / shaded trihedron.   | |
| const Handle< Graphic3d_TransformPers > | TransformPersistence () const | 
| Return trihedron position.   | |
| void | SetPosition (const Aspect_TypeOfTriedronPosition thePosition) | 
| Setup the corner to draw the trihedron.   | |
| Standard_Real | Scale () const | 
| Return scale factor.   | |
| void | SetScale (const Standard_Real theScale) | 
| Setup the scale factor.   | |
| Standard_Real | SizeRatio () const | 
| Return size ratio factor.   | |
| void | SetSizeRatio (const Standard_Real theRatio) | 
| Setup the size ratio factor.   | |
| Standard_Real | ArrowDiameter () const | 
| Return arrow diameter.   | |
| void | SetArrowDiameter (const Standard_Real theDiam) | 
| Setup the arrow diameter.   | |
| Standard_Integer | NbFacets () const | 
| Return number of facets for tessellation.   | |
| void | SetNbFacets (const Standard_Integer theNbFacets) | 
| Setup the number of facets for tessellation.   | |
| const Handle< Prs3d_TextAspect > & | LabelAspect (V3d_TypeOfAxe theAxis) const | 
| Return text aspect for specified axis.   | |
| void | SetLabelsColor (const Quantity_Color &theXColor, const Quantity_Color &theYColor, const Quantity_Color &theZColor) | 
| Setup per-label color.   | |
| void | SetLabelsColor (const Quantity_Color &theColor) | 
| Setup color of text labels.   | |
| const Handle< Prs3d_ShadingAspect > & | ArrowAspect (V3d_TypeOfAxe theAxis) const | 
| Return shading aspect for specified axis.   | |
| void | SetArrowsColor (const Quantity_Color &theXColor, const Quantity_Color &theYColor, const Quantity_Color &theZColor) | 
| Setup colors of arrows.   | |
| const Handle< Prs3d_ShadingAspect > & | OriginAspect () const | 
| Return shading aspect of origin sphere.   | |
| const TCollection_AsciiString & | Label (V3d_TypeOfAxe theAxis) const | 
| Return axis text.   | |
| void | SetLabels (const TCollection_AsciiString &theX, const TCollection_AsciiString &theY, const TCollection_AsciiString &theZ) | 
| Setup per-axis text.   | |
| void | Display (const Handle< V3d_View > &theView) | 
| Display trihedron.   | |
| void | Display (const V3d_View &theView) | 
| Display trihedron.   | |
| void | Erase () | 
| Erase trihedron.   | |
| void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const | 
| Dumps the content of me into the stream.   | |
  Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor.   | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing.   | |
| Standard_Transient & | operator= (const Standard_Transient &) | 
| Assignment operator, needed to avoid copying reference counter.   | |
| virtual | ~Standard_Transient () | 
| Destructor must be virtual.   | |
| virtual const opencascade::handle< Standard_Type > & | DynamicType () const | 
| Returns a type descriptor about this object.   | |
| Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const | 
| Returns a true value if this is an instance of Type.   | |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const | 
| Returns a true value if this is an instance of TypeName.   | |
| 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.   | |
| 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.   | |
| 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.   | |
| Standard_Integer | GetRefCount () const noexcept | 
| Get the reference counter of this object.   | |
| void | IncrementRefCounter () noexcept | 
| Increments the reference counter of this object.   | |
| Standard_Integer | DecrementRefCounter () noexcept | 
| Decrements the reference counter of this object; returns the decremented value.   | |
| virtual void | Delete () const | 
| Memory deallocator for transient classes.   | |
Protected Member Functions | |
| void | compute () | 
| Fills Graphic3d_Group.   | |
| void | invalidate () | 
| Invalidates objects. It leads recompute.   | |
| void | setOffset2d () | 
| Sets offset 2d for transform persistence.   | |
Additional Inherited Members | |
  Public Types inherited from Standard_Transient | |
| typedef void | base_type | 
| Returns a type descriptor about this object.   | |
  Static Public Member Functions inherited from Standard_Transient | |
| static constexpr const char * | get_type_name () | 
| Returns a type descriptor about this object.   | |
| static const opencascade::handle< Standard_Type > & | get_type_descriptor () | 
| Returns type descriptor of Standard_Transient class.   | |
Class for presentation of trihedron object.
| V3d_Trihedron::V3d_Trihedron | ( | ) | 
Creates a default trihedron.
      
  | 
  virtual | 
Destructor.
      
  | 
  inline | 
Return shading aspect for specified axis.
| theAxis | [in] axis index | 
      
  | 
  inline | 
Return arrow diameter.
      
  | 
  protected | 
Fills Graphic3d_Group.
| void V3d_Trihedron::DumpJson | ( | Standard_OStream & | theOStream, | 
| Standard_Integer | theDepth = -1  | 
        ||
| ) | const | 
Dumps the content of me into the stream.
| void V3d_Trihedron::Erase | ( | ) | 
Erase trihedron.
      
  | 
  inlineprotected | 
Invalidates objects. It leads recompute.
      
  | 
  inline | 
Return TRUE if wireframe presentation is set; FALSE by default.
      
  | 
  inline | 
Return axis text.
| theAxis | [in] axis index | 
      
  | 
  inline | 
Return text aspect for specified axis.
| theAxis | [in] axis index | 
      
  | 
  inline | 
Return number of facets for tessellation.
      
  | 
  inline | 
Return shading aspect of origin sphere.
      
  | 
  inline | 
Return scale factor.
| void V3d_Trihedron::SetArrowDiameter | ( | const Standard_Real | theDiam | ) | 
Setup the arrow diameter.
| void V3d_Trihedron::SetArrowsColor | ( | const Quantity_Color & | theXColor, | 
| const Quantity_Color & | theYColor, | ||
| const Quantity_Color & | theZColor | ||
| ) | 
Setup colors of arrows.
| void V3d_Trihedron::SetLabels | ( | const TCollection_AsciiString & | theX, | 
| const TCollection_AsciiString & | theY, | ||
| const TCollection_AsciiString & | theZ | ||
| ) | 
Setup per-axis text.
| void V3d_Trihedron::SetLabelsColor | ( | const Quantity_Color & | theColor | ) | 
Setup color of text labels.
| void V3d_Trihedron::SetLabelsColor | ( | const Quantity_Color & | theXColor, | 
| const Quantity_Color & | theYColor, | ||
| const Quantity_Color & | theZColor | ||
| ) | 
Setup per-label color.
| void V3d_Trihedron::SetNbFacets | ( | const Standard_Integer | theNbFacets | ) | 
Setup the number of facets for tessellation.
      
  | 
  protected | 
Sets offset 2d for transform persistence.
| void V3d_Trihedron::SetPosition | ( | const Aspect_TypeOfTriedronPosition | thePosition | ) | 
Setup the corner to draw the trihedron.
| void V3d_Trihedron::SetScale | ( | const Standard_Real | theScale | ) | 
Setup the scale factor.
| void V3d_Trihedron::SetSizeRatio | ( | const Standard_Real | theRatio | ) | 
Setup the size ratio factor.
      
  | 
  inline | 
Switch wireframe / shaded trihedron.
      
  | 
  inline | 
Return size ratio factor.
      
  | 
  inline | 
Return trihedron position.
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |