| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
defines the attributes when drawing a Length Presentation. More...
#include <Prs3d_DimensionAspect.hxx>

Public Member Functions | |
| Prs3d_DimensionAspect () | |
| Constructs an empty framework to define the display of dimensions.   | |
| const Handle< Prs3d_LineAspect > & | LineAspect () const | 
| Returns the settings for the display of lines used in presentation of dimensions.   | |
| void | SetLineAspect (const Handle< Prs3d_LineAspect > &theAspect) | 
| Sets the display attributes of lines used in presentation of dimensions.   | |
| const Handle< Prs3d_TextAspect > & | TextAspect () const | 
| Returns the settings for the display of text used in presentation of dimensions.   | |
| void | SetTextAspect (const Handle< Prs3d_TextAspect > &theAspect) | 
| Sets the display attributes of text used in presentation of dimensions.   | |
| Standard_Boolean | IsText3d () const | 
| Check if text for dimension label is 3d.   | |
| void | MakeText3d (const Standard_Boolean isText3d) | 
| Sets type of text.   | |
| Standard_Boolean | IsTextShaded () const | 
| Check if 3d text for dimension label is shaded.   | |
| void | MakeTextShaded (const Standard_Boolean theIsTextShaded) | 
| Turns on/off text shading for 3d text.   | |
| Standard_Boolean | IsArrows3d () const | 
| Gets type of arrows.   | |
| void | MakeArrows3d (const Standard_Boolean theIsArrows3d) | 
| Sets type of arrows.   | |
| Standard_Boolean | IsUnitsDisplayed () const | 
| Shows if Units are to be displayed along with dimension value.   | |
| void | MakeUnitsDisplayed (const Standard_Boolean theIsDisplayed) | 
| Specifies whether the units string should be displayed along with value label or not.   | |
| void | SetArrowOrientation (const Prs3d_DimensionArrowOrientation theArrowOrient) | 
| Sets orientation of arrows (external or internal). By default orientation is chosen automatically according to situation and text label size.   | |
| Prs3d_DimensionArrowOrientation | ArrowOrientation () const | 
| Gets orientation of arrows (external or internal).   | |
| void | SetTextVerticalPosition (const Prs3d_DimensionTextVerticalPosition thePosition) | 
| Sets vertical text alignment for text label.   | |
| Prs3d_DimensionTextVerticalPosition | TextVerticalPosition () const | 
| Gets vertical text alignment for text label.   | |
| void | SetTextHorizontalPosition (const Prs3d_DimensionTextHorizontalPosition thePosition) | 
| Sets horizontal text alignment for text label.   | |
| Prs3d_DimensionTextHorizontalPosition | TextHorizontalPosition () const | 
| Gets horizontal text alignment for text label.   | |
| const Handle< Prs3d_ArrowAspect > & | ArrowAspect () const | 
| Returns the settings for displaying arrows.   | |
| void | SetArrowAspect (const Handle< Prs3d_ArrowAspect > &theAspect) | 
| Sets the display attributes of arrows used in presentation of dimensions.   | |
| void | SetCommonColor (const Quantity_Color &theColor) | 
| Sets the same color for all parts of dimension: lines, arrows and text.   | |
| void | SetExtensionSize (const Standard_Real theSize) | 
| Sets extension size.   | |
| Standard_Real | ExtensionSize () const | 
| Returns extension size.   | |
| void | SetArrowTailSize (const Standard_Real theSize) | 
| Set size for arrow tail (extension without text).   | |
| Standard_Real | ArrowTailSize () const | 
| Returns arrow tail size.   | |
| void | SetValueStringFormat (const TCollection_AsciiString &theFormat) | 
| Sets "sprintf"-syntax format for formatting dimension value labels.   | |
| const TCollection_AsciiString & | ValueStringFormat () const | 
| Returns format.   | |
| virtual void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const override | 
| 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.   | |
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.   | |
defines the attributes when drawing a Length Presentation.
| Prs3d_DimensionAspect::Prs3d_DimensionAspect | ( | ) | 
Constructs an empty framework to define the display of dimensions.
      
  | 
  inline | 
Returns the settings for displaying arrows.
      
  | 
  inline | 
Gets orientation of arrows (external or internal).
      
  | 
  inline | 
Returns arrow tail size.
      
  | 
  overridevirtual | 
Dumps the content of me into the stream.
Implements Prs3d_BasicAspect.
      
  | 
  inline | 
Returns extension size.
      
  | 
  inline | 
Gets type of arrows.
      
  | 
  inline | 
Check if text for dimension label is 3d.
      
  | 
  inline | 
Check if 3d text for dimension label is shaded.
      
  | 
  inline | 
Shows if Units are to be displayed along with dimension value.
      
  | 
  inline | 
Returns the settings for the display of lines used in presentation of dimensions.
      
  | 
  inline | 
Sets type of arrows.
      
  | 
  inline | 
Sets type of text.
      
  | 
  inline | 
Turns on/off text shading for 3d text.
      
  | 
  inline | 
Specifies whether the units string should be displayed along with value label or not.
      
  | 
  inline | 
Sets the display attributes of arrows used in presentation of dimensions.
      
  | 
  inline | 
Sets orientation of arrows (external or internal). By default orientation is chosen automatically according to situation and text label size.
      
  | 
  inline | 
Set size for arrow tail (extension without text).
| void Prs3d_DimensionAspect::SetCommonColor | ( | const Quantity_Color & | theColor | ) | 
Sets the same color for all parts of dimension: lines, arrows and text.
      
  | 
  inline | 
Sets extension size.
      
  | 
  inline | 
Sets the display attributes of lines used in presentation of dimensions.
      
  | 
  inline | 
Sets the display attributes of text used in presentation of dimensions.
      
  | 
  inline | 
Sets horizontal text alignment for text label.
      
  | 
  inline | 
Sets vertical text alignment for text label.
      
  | 
  inline | 
Sets "sprintf"-syntax format for formatting dimension value labels.
      
  | 
  inline | 
Returns the settings for the display of text used in presentation of dimensions.
      
  | 
  inline | 
Gets horizontal text alignment for text label.
      
  | 
  inline | 
Gets vertical text alignment for text label.
      
  | 
  inline | 
Returns format.
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |