Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 int theValuesOffset=10, const int theNameOffset=30, const int theTickmarksNumber=5, const int theTickmarksLength=10, const bool theToDrawName=true, const bool theToDrawValues=true, const bool theToDrawTickmarks=true)
 
void SetName (const TCollection_ExtendedString &theName)
 
const TCollection_ExtendedStringName () const
 
bool ToDrawName () const
 
void SetDrawName (const bool theToDraw)
 
bool ToDrawTickmarks () const
 
void SetDrawTickmarks (const bool theToDraw)
 
bool ToDrawValues () const
 
void SetDrawValues (const bool theToDraw)
 
const Quantity_ColorNameColor () const
 
void SetNameColor (const Quantity_Color &theColor)
 
const Quantity_ColorColor () const
 Color of axis and values.
 
void SetColor (const Quantity_Color &theColor)
 Sets color of axis and values.
 
int TickmarksNumber () const
 
void SetTickmarksNumber (const int theValue)
 
int TickmarksLength () const
 
void SetTickmarksLength (const int theValue)
 
int ValuesOffset () const
 
void SetValuesOffset (const int theValue)
 
int NameOffset () const
 
void SetNameOffset (const int theValue)
 

Protected Attributes

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

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 int theValuesOffset = 10,
const int theNameOffset = 30,
const int theTickmarksNumber = 5,
const int theTickmarksLength = 10,
const bool theToDrawName = true,
const bool theToDrawValues = true,
const bool theToDrawTickmarks = 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()

int 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 bool theToDraw)
inline

◆ SetDrawTickmarks()

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

◆ SetDrawValues()

void Graphic3d_GraduatedTrihedron::AxisAspect::SetDrawValues ( const bool 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 int theValue)
inline

◆ SetTickmarksLength()

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

◆ SetTickmarksNumber()

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

◆ SetValuesOffset()

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

◆ TickmarksLength()

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

◆ TickmarksNumber()

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

◆ ToDrawName()

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

◆ ToDrawTickmarks()

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

◆ ToDrawValues()

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

◆ ValuesOffset()

int 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

int Graphic3d_GraduatedTrihedron::AxisAspect::myNameOffset
protected

Offset for drawing name of axis.

◆ myTickmarksLength

int Graphic3d_GraduatedTrihedron::AxisAspect::myTickmarksLength
protected

Length of tickmarks.

◆ myTickmarksNumber

int Graphic3d_GraduatedTrihedron::AxisAspect::myTickmarksNumber
protected

Number of splits along axes.

◆ myToDrawName

bool Graphic3d_GraduatedTrihedron::AxisAspect::myToDrawName
protected

◆ myToDrawTickmarks

bool Graphic3d_GraduatedTrihedron::AxisAspect::myToDrawTickmarks
protected

◆ myToDrawValues

bool Graphic3d_GraduatedTrihedron::AxisAspect::myToDrawValues
protected

◆ myValuesOffset

int Graphic3d_GraduatedTrihedron::AxisAspect::myValuesOffset
protected

Offset for drawing values.


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