| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/opengl/surfacestylegl.h>

Public Types | |
| enum | StyleMode { NormalWires = 0, FatWires = 1, HaloedWires = 2, Segments = 3, Normal = 4 } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (StyleMode) | |
| SurfaceStyleGL (StyleMode styleMode=SurfaceStyleGL::NormalWires, double linewidth=3.0, double haloewidth=10.0, bool culling=false) | |
| void | setMode (StyleMode mode) |
| Sets the surface style. | |
| StyleMode | getMode () const |
| Gets the surface style. | |
| void | setLineWidth (double pixel) |
| double | getLineWidth () const |
| Gets the line width. | |
| void | setHaloeWidth (double pixel) |
| double | getHaloeWidth () const |
| Gets the haloe width. | |
| void | setCulling (bool onOff) |
| Sets culling on / off. | |
| bool | getCulling () const |
| Gets culling state. | |
| VRS_TYPEINFO (SurfaceStyleGL, MonoAttribute) | |
| VRS_SERIALIZABLE (SurfaceStyleGL) | |
| VRS::SurfaceStyleGL::SurfaceStyleGL | ( | StyleMode | styleMode = SurfaceStyleGL::NormalWires, |
|
| double | linewidth = 3.0, |
|||
| double | haloewidth = 10.0, |
|||
| bool | culling = false | |||
| ) |
Extended Surface Styles for OpenGL-drawn Facettes. Supported modes are:
NormalWires : wireframe drawing
FatWires : wireframe, but the shape is not transparent
HaloedWires : wireframe with not transparent haloe arround the wires
Segments : inverse of NormalWires
Normal : polygons are rendered filled
| VRS::SurfaceStyleGL::VRS_SERIALIZABLE_CLASS_ENUM | ( | StyleMode | ) |
| void VRS::SurfaceStyleGL::setMode | ( | StyleMode | mode | ) |
Sets the surface style.
| SurfaceStyleGL::StyleMode VRS::SurfaceStyleGL::getMode | ( | ) | const [inline] |
Gets the surface style.
| void VRS::SurfaceStyleGL::setLineWidth | ( | double | pixel | ) |
Line width is used for normal wires, fat wires, haloed wires, and segments modes. Must be greater or equal zero.
| double VRS::SurfaceStyleGL::getLineWidth | ( | ) | const [inline] |
Gets the line width.
| void VRS::SurfaceStyleGL::setHaloeWidth | ( | double | pixel | ) |
Sets the distance between a hidden and a visible line used in the haloed-wire mode. Must be greater or equal zero.
| double VRS::SurfaceStyleGL::getHaloeWidth | ( | ) | const [inline] |
Gets the haloe width.
| void VRS::SurfaceStyleGL::setCulling | ( | bool | onOff | ) |
Sets culling on / off.
| bool VRS::SurfaceStyleGL::getCulling | ( | ) | const [inline] |
Gets culling state.
| VRS::SurfaceStyleGL::VRS_TYPEINFO | ( | SurfaceStyleGL | , | |
| MonoAttribute | ||||
| ) |
| VRS::SurfaceStyleGL::VRS_SERIALIZABLE | ( | SurfaceStyleGL | ) |