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";
Definition: RenderingMode.h:48
Definition: RenderingMode.h:43
bool isVisible(const Mode mode) const
Return if a rendering mode is currently visible or not.
Definition: RenderingMode.h:101
RenderingMode(const Mode mode=SURFACE)
default constructor with initialisation
Definition: RenderingMode.h:52
bool pointsVisibility
Flag indicating weither the points mode is currenly visible or not.
Definition: RenderingMode.h:264
bool isVisible() const
Return true if at least a mode is currently visible, false otherwise.
Definition: RenderingMode.h:131
Definition: RenderingMode.h:45
Definition: RenderingMode.h:42
Definition: RenderingMode.h:46
Definition: RenderingMode.h:41
Mode
This is a duplicate of RenderingMode Mode....
Definition: RenderingMode.h:40
RenderingMode(const bool surface, const bool wireframe, const bool points)
another constructor provided for conveniance
Definition: RenderingMode.h:62
Definition: RenderingMode.h:47
void setMode(const Mode mode)
set a vizualisation mode
Definition: RenderingMode.h:137
Handle rendering options (surface and wireframe) of an Object3D.
Definition: RenderingMode.h:37
Definition: RenderingMode.h:44
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
void setVisible(const Mode mode, const bool value)
Set a rendering mode visible or not.
Definition: RenderingMode.h:69
bool wireframeVisibility
Flag indicating weither the wireframe mode is currenly visible or not.
Definition: RenderingMode.h:262
RenderingMode::Mode getMode() const
get current mode
Definition: RenderingMode.h:173