Handle rendering options (surface and wireframe) of an Object3D. More...
#include <RenderingMode.h>
 Collaboration diagram for RenderingMode:
 Collaboration diagram for RenderingMode:| Public Types | |
| enum | Mode { NONE, POINTS, POINTS_AND_SURFACE, SURFACE, WIREFRAME_AND_SURFACE, WIREFRAME_AND_POINTS, WIREFRAME, WIREFRAME_AND_SURFACE_AND_POINTS } | 
| This is a duplicate of RenderingMode Mode....  More... | |
| Public Member Functions | |
| RenderingMode::Mode | getMode () const | 
| get current mode  More... | |
| std::string | getModeString () const | 
| get the string equivalent to the enum rendering mode  More... | |
| bool | isVisible () const | 
| Return true if at least a mode is currently visible, false otherwise.  More... | |
| bool | isVisible (const Mode mode) const | 
| Return if a rendering mode is currently visible or not.  More... | |
| RenderingMode (const bool surface, const bool wireframe, const bool points) | |
| another constructor provided for conveniance  More... | |
| RenderingMode (const Mode mode=SURFACE) | |
| default constructor with initialisation  More... | |
| void | setMode (const Mode mode) | 
| set a vizualisation mode  More... | |
| void | setVisible (const Mode mode, const bool value) | 
| Set a rendering mode visible or not.  More... | |
| Private Attributes | |
| bool | pointsVisibility | 
| Flag indicating weither the points mode is currenly visible or not.  More... | |
| bool | surfaceVisibility | 
| Flag indicating weither the surface mode is currenly visible or not.  More... | |
| bool | wireframeVisibility | 
| Flag indicating weither the wireframe mode is currenly visible or not.  More... | |
Handle rendering options (surface and wireframe) of an Object3D.
| enum RenderingMode::Mode | 
This is a duplicate of RenderingMode Mode....
BEURK!!!
| Enumerator | |
|---|---|
| NONE | |
| POINTS | |
| POINTS_AND_SURFACE | |
| SURFACE | |
| WIREFRAME_AND_SURFACE | |
| WIREFRAME_AND_POINTS | |
| WIREFRAME | |
| WIREFRAME_AND_SURFACE_AND_POINTS | |
default constructor with initialisation
| 
 | inline | 
another constructor provided for conveniance
| surface | tells if by default the surface is visible | 
| wireframe | tells if by default the surface is visible | 
| points | tells if by default the surface is visible | 
| 
 | inline | 
get current mode
Referenced by StructuralComponentProperties::getMode(), and StructuralComponentProperties::xmlPrint().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
get the string equivalent to the enum rendering mode
Referenced by StructuralComponentProperties::getModeString(), and StructuralComponentProperties::xmlPrint().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Return true if at least a mode is currently visible, false otherwise.
| 
 | inline | 
Return if a rendering mode is currently visible or not.
Return TRUE if the rendering mode
| mode | (Mode) is currently visible, FALSE otherwise.. | 
Referenced by StructuralComponentProperties::isVisible().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
set a vizualisation mode
Referenced by StructuralComponentProperties::setMode().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inline | 
Set a rendering mode visible or not.
Set the rendering mode
| mode | (Mode) visible if | 
| value | is TRUE, unvisible otherwise. | 
Referenced by StructuralComponentProperties::setVisible().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Flag indicating weither the points mode is currenly visible or not.
| 
 | private | 
Flag indicating weither the surface mode is currenly visible or not.
| 
 | private | 
Flag indicating weither the wireframe mode is currenly visible or not.