|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
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";
@ WIREFRAME
Definition: RenderingMode.h:93
bool surfaceVisibility
Flag indicating weither the surface mode is currenly visible or not.
Definition: RenderingMode.h:283
bool isVisible() const
Return true if at least a mode is currently visible, false otherwise.
Definition: RenderingMode.h:154
@ SURFACE
Definition: RenderingMode.h:90
@ WIREFRAME_AND_SURFACE
Definition: RenderingMode.h:91
RenderingMode::Mode getMode() const
get current mode
Definition: RenderingMode.h:196
void setVisible(const Mode mode, const bool value)
Set a rendering mode visible or not.
Definition: RenderingMode.h:92
Handle rendering options (surface and wireframe) of an Object3D.
Definition: RenderingMode.h:37
@ WIREFRAME_AND_POINTS
Definition: RenderingMode.h:92
@ NONE
Definition: RenderingMode.h:87
void setMode(const Mode mode)
set a vizualisation mode
Definition: RenderingMode.h:160
bool pointsVisibility
Flag indicating weither the points mode is currenly visible or not.
Definition: RenderingMode.h:287
Mode
This is a duplicate of RenderingMode Mode....
Definition: RenderingMode.h:63
@ WIREFRAME_AND_SURFACE_AND_POINTS
Definition: RenderingMode.h:94
@ POINTS
Definition: RenderingMode.h:88
bool wireframeVisibility
Flag indicating weither the wireframe mode is currenly visible or not.
Definition: RenderingMode.h:285
@ POINTS_AND_SURFACE
Definition: RenderingMode.h:89
std::string getModeString() const
get the string equivalent to the enum rendering mode
Definition: RenderingMode.h:236
RenderingMode(const Mode mode=SURFACE)
default constructor with initialisation
Definition: RenderingMode.h:75