Defines the class of a graduated trihedron. It contains main style parameters for implementation of graduated trihedron.
More...
#include <Graphic3d_GraduatedTrihedron.hxx>
|
| Graphic3d_GraduatedTrihedron (const TCollection_AsciiString &theNamesFont="Arial", const Font_FontAspect &theNamesStyle=Font_FA_Bold, const Standard_Integer theNamesSize=12, const TCollection_AsciiString &theValuesFont="Arial", const Font_FontAspect &theValuesStyle=Font_FA_Regular, const Standard_Integer theValuesSize=12, const Standard_ShortReal theArrowsLength=30.0f, const Quantity_Color theGridColor=Quantity_NOC_WHITE, const Standard_Boolean theToDrawGrid=Standard_True, const Standard_Boolean theToDrawAxes=Standard_True) |
| Default constructor Constructs the default graduated trihedron with grid, X, Y, Z axes, and tickmarks. More...
|
|
AxisAspect & | ChangeXAxisAspect () |
|
AxisAspect & | ChangeYAxisAspect () |
|
AxisAspect & | ChangeZAxisAspect () |
|
AxisAspect & | ChangeAxisAspect (const Standard_Integer theIndex) |
|
const AxisAspect & | XAxisAspect () const |
|
const AxisAspect & | YAxisAspect () const |
|
const AxisAspect & | ZAxisAspect () const |
|
const AxisAspect & | AxisAspectAt (const Standard_Integer theIndex) const |
|
Standard_ShortReal | ArrowsLength () const |
|
void | SetArrowsLength (const Standard_ShortReal theValue) |
|
const Quantity_Color & | GridColor () const |
|
void | SetGridColor (const Quantity_Color &theColor) |
|
Standard_Boolean | ToDrawGrid () const |
|
void | SetDrawGrid (const Standard_Boolean theToDraw) |
|
Standard_Boolean | ToDrawAxes () const |
|
void | SetDrawAxes (const Standard_Boolean theToDraw) |
|
const TCollection_AsciiString & | NamesFont () const |
|
void | SetNamesFont (const TCollection_AsciiString &theFont) |
|
Font_FontAspect | NamesFontAspect () const |
|
void | SetNamesFontAspect (Font_FontAspect theAspect) |
|
Standard_Integer | NamesSize () const |
|
void | SetNamesSize (const Standard_Integer theValue) |
|
const TCollection_AsciiString & | ValuesFont () const |
|
void | SetValuesFont (const TCollection_AsciiString &theFont) |
|
Font_FontAspect | ValuesFontAspect () const |
|
void | SetValuesFontAspect (Font_FontAspect theAspect) |
|
Standard_Integer | ValuesSize () const |
|
void | SetValuesSize (const Standard_Integer theValue) |
|
Standard_Boolean | CubicAxesCallback (Graphic3d_CView *theView) const |
|
void | SetCubicAxesCallback (const MinMaxValuesCallback theCallback) |
|
|
MinMaxValuesCallback | myCubicAxesCallback |
| Callback function to define boundary box of displayed objects. More...
|
|
TCollection_AsciiString | myNamesFont |
| Font name of names of axes: Courier, Arial, ... More...
|
|
Font_FontAspect | myNamesStyle |
| Style of names of axes: OSD_FA_Regular, OSD_FA_Bold,.. More...
|
|
Standard_Integer | myNamesSize |
| Size of names of axes: 8, 10,.. More...
|
|
TCollection_AsciiString | myValuesFont |
| Font name of values: Courier, Arial, ... More...
|
|
Font_FontAspect | myValuesStyle |
| Style of values: OSD_FA_Regular, OSD_FA_Bold, ... More...
|
|
Standard_Integer | myValuesSize |
| Size of values: 8, 10, 12, 14, ... More...
|
|
Standard_ShortReal | myArrowsLength |
|
Quantity_Color | myGridColor |
|
Standard_Boolean | myToDrawGrid |
|
Standard_Boolean | myToDrawAxes |
|
NCollection_Array1< AxisAspect > | myAxes |
| X, Y and Z axes parameters. More...
|
|
Defines the class of a graduated trihedron. It contains main style parameters for implementation of graduated trihedron.
- See also
- OpenGl_GraduatedTrihedron
◆ MinMaxValuesCallback
typedef void(* Graphic3d_GraduatedTrihedron::MinMaxValuesCallback) (Graphic3d_CView *) |
◆ Graphic3d_GraduatedTrihedron()
Default constructor Constructs the default graduated trihedron with grid, X, Y, Z axes, and tickmarks.
◆ ArrowsLength()
◆ AxisAspectAt()
◆ ChangeAxisAspect()
◆ ChangeXAxisAspect()
AxisAspect& Graphic3d_GraduatedTrihedron::ChangeXAxisAspect |
( |
| ) |
|
|
inline |
◆ ChangeYAxisAspect()
AxisAspect& Graphic3d_GraduatedTrihedron::ChangeYAxisAspect |
( |
| ) |
|
|
inline |
◆ ChangeZAxisAspect()
AxisAspect& Graphic3d_GraduatedTrihedron::ChangeZAxisAspect |
( |
| ) |
|
|
inline |
◆ CubicAxesCallback()
◆ GridColor()
const Quantity_Color& Graphic3d_GraduatedTrihedron::GridColor |
( |
| ) |
const |
|
inline |
◆ NamesFont()
◆ NamesFontAspect()
◆ NamesSize()
◆ SetArrowsLength()
◆ SetCubicAxesCallback()
◆ SetDrawAxes()
void Graphic3d_GraduatedTrihedron::SetDrawAxes |
( |
const Standard_Boolean |
theToDraw | ) |
|
|
inline |
◆ SetDrawGrid()
void Graphic3d_GraduatedTrihedron::SetDrawGrid |
( |
const Standard_Boolean |
theToDraw | ) |
|
|
inline |
◆ SetGridColor()
void Graphic3d_GraduatedTrihedron::SetGridColor |
( |
const Quantity_Color & |
theColor | ) |
|
|
inline |
◆ SetNamesFont()
◆ SetNamesFontAspect()
void Graphic3d_GraduatedTrihedron::SetNamesFontAspect |
( |
Font_FontAspect |
theAspect | ) |
|
|
inline |
◆ SetNamesSize()
void Graphic3d_GraduatedTrihedron::SetNamesSize |
( |
const Standard_Integer |
theValue | ) |
|
|
inline |
◆ SetValuesFont()
◆ SetValuesFontAspect()
void Graphic3d_GraduatedTrihedron::SetValuesFontAspect |
( |
Font_FontAspect |
theAspect | ) |
|
|
inline |
◆ SetValuesSize()
void Graphic3d_GraduatedTrihedron::SetValuesSize |
( |
const Standard_Integer |
theValue | ) |
|
|
inline |
◆ ToDrawAxes()
◆ ToDrawGrid()
◆ ValuesFont()
◆ ValuesFontAspect()
◆ ValuesSize()
◆ XAxisAspect()
const AxisAspect& Graphic3d_GraduatedTrihedron::XAxisAspect |
( |
| ) |
const |
|
inline |
◆ YAxisAspect()
const AxisAspect& Graphic3d_GraduatedTrihedron::YAxisAspect |
( |
| ) |
const |
|
inline |
◆ ZAxisAspect()
const AxisAspect& Graphic3d_GraduatedTrihedron::ZAxisAspect |
( |
| ) |
const |
|
inline |
◆ myArrowsLength
◆ myAxes
X, Y and Z axes parameters.
◆ myCubicAxesCallback
Callback function to define boundary box of displayed objects.
◆ myGridColor
◆ myNamesFont
Font name of names of axes: Courier, Arial, ...
◆ myNamesSize
Size of names of axes: 8, 10,..
◆ myNamesStyle
Style of names of axes: OSD_FA_Regular, OSD_FA_Bold,..
◆ myToDrawAxes
◆ myToDrawGrid
◆ myValuesFont
Font name of values: Courier, Arial, ...
◆ myValuesSize
Size of values: 8, 10, 12, 14, ...
◆ myValuesStyle
Style of values: OSD_FA_Regular, OSD_FA_Bold, ...
The documentation for this class was generated from the following file: