26 #ifndef RENDERING_MODE_H
27 #define RENDERING_MODE_H
62 RenderingMode(
const bool surface,
const bool wireframe,
const bool points) {
219 n =
"WIREFRAME_AND_SURFACE_AND_POINTS";
222 n =
"POINTS_AND_SURFACE";
227 n =
"WIREFRAME_AND_POINTS";
237 n =
"WIREFRAME_AND_SURFACE";
Handle rendering options (surface and wireframe) of an Object3D.
Definition: RenderingMode.h:37
bool pointsVisibility
Flag indicating weither the points mode is currenly visible or not.
Definition: RenderingMode.h:264
void setMode(const Mode mode)
set a vizualisation mode
Definition: RenderingMode.h:137
void setVisible(const Mode mode, const bool value)
Set a rendering mode visible or not.
Definition: RenderingMode.h:69
RenderingMode(const bool surface, const bool wireframe, const bool points)
another constructor provided for conveniance
Definition: RenderingMode.h:62
RenderingMode(const Mode mode=SURFACE)
default constructor with initialisation
Definition: RenderingMode.h:52
bool isVisible(const Mode mode) const
Return if a rendering mode is currently visible or not.
Definition: RenderingMode.h:101
Mode
This is a duplicate of RenderingMode Mode....
Definition: RenderingMode.h:40
@ WIREFRAME_AND_SURFACE_AND_POINTS
Definition: RenderingMode.h:48
@ WIREFRAME_AND_SURFACE
Definition: RenderingMode.h:45
@ WIREFRAME_AND_POINTS
Definition: RenderingMode.h:46
@ WIREFRAME
Definition: RenderingMode.h:47
@ POINTS
Definition: RenderingMode.h:42
@ NONE
Definition: RenderingMode.h:41
@ POINTS_AND_SURFACE
Definition: RenderingMode.h:43
@ SURFACE
Definition: RenderingMode.h:44
bool isVisible() const
Return true if at least a mode is currently visible, false otherwise.
Definition: RenderingMode.h:131
bool wireframeVisibility
Flag indicating weither the wireframe mode is currenly visible or not.
Definition: RenderingMode.h:262
bool surfaceVisibility
Flag indicating weither the surface mode is currenly visible or not.
Definition: RenderingMode.h:260
std::string getModeString() const
get the string equivalent to the enum rendering mode
Definition: RenderingMode.h:213
RenderingMode::Mode getMode() const
get current mode
Definition: RenderingMode.h:173