Open CASCADE Technology  7.7.0
Public Member Functions | Protected Attributes

Graphic3d_GraduatedTrihedron::AxisAspect Class Reference

Class that stores style for one graduated trihedron axis such as colors, lengths and customization flags. It is used in Graphic3d_GraduatedTrihedron. More...

#include <Graphic3d_GraduatedTrihedron.hxx>

Public Member Functions

 AxisAspect (const TCollection_ExtendedString theName="", const Quantity_Color theNameColor=Quantity_NOC_BLACK, const Quantity_Color theColor=Quantity_NOC_BLACK, const Standard_Integer theValuesOffset=10, const Standard_Integer theNameOffset=30, const Standard_Integer theTickmarksNumber=5, const Standard_Integer theTickmarksLength=10, const Standard_Boolean theToDrawName=Standard_True, const Standard_Boolean theToDrawValues=Standard_True, const Standard_Boolean theToDrawTickmarks=Standard_True)
 
void SetName (const TCollection_ExtendedString &theName)
 
const TCollection_ExtendedStringName () const
 
Standard_Boolean ToDrawName () const
 
void SetDrawName (const Standard_Boolean theToDraw)
 
Standard_Boolean ToDrawTickmarks () const
 
void SetDrawTickmarks (const Standard_Boolean theToDraw)
 
Standard_Boolean ToDrawValues () const
 
void SetDrawValues (const Standard_Boolean theToDraw)
 
const Quantity_ColorNameColor () const
 
void SetNameColor (const Quantity_Color &theColor)
 
const Quantity_ColorColor () const
 Color of axis and values. More...
 
void SetColor (const Quantity_Color &theColor)
 Sets color of axis and values. More...
 
Standard_Integer TickmarksNumber () const
 
void SetTickmarksNumber (const Standard_Integer theValue)
 
Standard_Integer TickmarksLength () const
 
void SetTickmarksLength (const Standard_Integer theValue)
 
Standard_Integer ValuesOffset () const
 
void SetValuesOffset (const Standard_Integer theValue)
 
Standard_Integer NameOffset () const
 
void SetNameOffset (const Standard_Integer theValue)
 

Protected Attributes

TCollection_ExtendedString myName
 
Standard_Boolean myToDrawName
 
Standard_Boolean myToDrawTickmarks
 
Standard_Boolean myToDrawValues
 
Quantity_Color myNameColor
 
Standard_Integer myTickmarksNumber
 Number of splits along axes. More...
 
Standard_Integer myTickmarksLength
 Length of tickmarks. More...
 
Quantity_Color myColor
 Color of axis and values. More...
 
Standard_Integer myValuesOffset
 Offset for drawing values. More...
 
Standard_Integer myNameOffset
 Offset for drawing name of axis. More...
 

Detailed Description

Class that stores style for one graduated trihedron axis such as colors, lengths and customization flags. It is used in Graphic3d_GraduatedTrihedron.

Constructor & Destructor Documentation

◆ AxisAspect()

Graphic3d_GraduatedTrihedron::AxisAspect::AxisAspect ( const TCollection_ExtendedString  theName = "",
const Quantity_Color  theNameColor = Quantity_NOC_BLACK,
const Quantity_Color  theColor = Quantity_NOC_BLACK,
const Standard_Integer  theValuesOffset = 10,
const Standard_Integer  theNameOffset = 30,
const Standard_Integer  theTickmarksNumber = 5,
const Standard_Integer  theTickmarksLength = 10,
const Standard_Boolean  theToDrawName = Standard_True,
const Standard_Boolean  theToDrawValues = Standard_True,
const Standard_Boolean  theToDrawTickmarks = Standard_True 
)
inline

Member Function Documentation

◆ Color()

const Quantity_Color& Graphic3d_GraduatedTrihedron::AxisAspect::Color ( ) const
inline

Color of axis and values.

◆ Name()

const TCollection_ExtendedString& Graphic3d_GraduatedTrihedron::AxisAspect::Name ( ) const
inline

◆ NameColor()

const Quantity_Color& Graphic3d_GraduatedTrihedron::AxisAspect::NameColor ( ) const
inline

◆ NameOffset()

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::NameOffset ( ) const
inline

◆ SetColor()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetColor ( const Quantity_Color theColor)
inline

Sets color of axis and values.

◆ SetDrawName()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetDrawName ( const Standard_Boolean  theToDraw)
inline

◆ SetDrawTickmarks()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetDrawTickmarks ( const Standard_Boolean  theToDraw)
inline

◆ SetDrawValues()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetDrawValues ( const Standard_Boolean  theToDraw)
inline

◆ SetName()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetName ( const TCollection_ExtendedString theName)
inline

◆ SetNameColor()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetNameColor ( const Quantity_Color theColor)
inline

◆ SetNameOffset()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetNameOffset ( const Standard_Integer  theValue)
inline

◆ SetTickmarksLength()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetTickmarksLength ( const Standard_Integer  theValue)
inline

◆ SetTickmarksNumber()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetTickmarksNumber ( const Standard_Integer  theValue)
inline

◆ SetValuesOffset()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetValuesOffset ( const Standard_Integer  theValue)
inline

◆ TickmarksLength()

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::TickmarksLength ( ) const
inline

◆ TickmarksNumber()

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::TickmarksNumber ( ) const
inline

◆ ToDrawName()

Standard_Boolean Graphic3d_GraduatedTrihedron::AxisAspect::ToDrawName ( ) const
inline

◆ ToDrawTickmarks()

Standard_Boolean Graphic3d_GraduatedTrihedron::AxisAspect::ToDrawTickmarks ( ) const
inline

◆ ToDrawValues()

Standard_Boolean Graphic3d_GraduatedTrihedron::AxisAspect::ToDrawValues ( ) const
inline

◆ ValuesOffset()

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::ValuesOffset ( ) const
inline

Field Documentation

◆ myColor

Quantity_Color Graphic3d_GraduatedTrihedron::AxisAspect::myColor
protected

Color of axis and values.

◆ myName

TCollection_ExtendedString Graphic3d_GraduatedTrihedron::AxisAspect::myName
protected

◆ myNameColor

Quantity_Color Graphic3d_GraduatedTrihedron::AxisAspect::myNameColor
protected

◆ myNameOffset

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::myNameOffset
protected

Offset for drawing name of axis.

◆ myTickmarksLength

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::myTickmarksLength
protected

Length of tickmarks.

◆ myTickmarksNumber

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::myTickmarksNumber
protected

Number of splits along axes.

◆ myToDrawName

Standard_Boolean Graphic3d_GraduatedTrihedron::AxisAspect::myToDrawName
protected

◆ myToDrawTickmarks

Standard_Boolean Graphic3d_GraduatedTrihedron::AxisAspect::myToDrawTickmarks
protected

◆ myToDrawValues

Standard_Boolean Graphic3d_GraduatedTrihedron::AxisAspect::myToDrawValues
protected

◆ myValuesOffset

Standard_Integer Graphic3d_GraduatedTrihedron::AxisAspect::myValuesOffset
protected

Offset for drawing values.


The documentation for this class was generated from the following file: