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

Public Types | |
| enum | AAMode { AANone = 0, AAFastest = 1, AANicest = 2 } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (AAMode) | |
| PointStyle (double pixelsize=1.0, bool lighting=false, AAMode antialiasing=PointStyle::AANone) | |
| bool | operator== (const PointStyle &other) const |
| bool | operator!= (const PointStyle &other) const |
| void | setPixelSize (double pixelsize) |
| double | getPixelSize () const |
| void | setLighting (bool onOff) |
| bool | getLighting () const |
| void | setAntialiasing (PointStyle::AAMode antialiasingmode) |
| PointStyle::AAMode | getAntialiasing () const |
| VRS_TYPEINFO (PointStyle, MonoAttribute) | |
| VRS_SERIALIZABLE (PointStyle) | |
| VRS::PointStyle::PointStyle | ( | double | pixelsize = 1.0, |
|
| bool | lighting = false, |
|||
| AAMode | antialiasing = PointStyle::AANone | |||
| ) |
The width of points can be specified in pixels or in model coordinates. Point painters will use one of these values.
| VRS::PointStyle::VRS_SERIALIZABLE_CLASS_ENUM | ( | AAMode | ) |
| bool VRS::PointStyle::operator== | ( | const PointStyle & | other | ) | const |
| bool VRS::PointStyle::operator!= | ( | const PointStyle & | other | ) | const |
| void VRS::PointStyle::setPixelSize | ( | double | pixelsize | ) |
| double VRS::PointStyle::getPixelSize | ( | ) | const [inline] |
Size of a point in pixels. If set, it overwrites the object size which is reset to zero.
| void VRS::PointStyle::setLighting | ( | bool | onOff | ) |
| bool VRS::PointStyle::getLighting | ( | ) | const [inline] |
The lighting flag specifies if lightsources are applied to the points. If lighting is turned on, a normal for each is point is required and has to be specified by a corresponding iterator in the point set. Note that sometimes OpenGL does not accelerate lit points!
| void VRS::PointStyle::setAntialiasing | ( | PointStyle::AAMode | antialiasingmode | ) |
| PointStyle::AAMode VRS::PointStyle::getAntialiasing | ( | ) | const [inline] |
Turns on or off antialiasing for points. Antialiasing is required if points with a pixel size other than one should be drawn with an approximately round shape.
| VRS::PointStyle::VRS_TYPEINFO | ( | PointStyle | , | |
| MonoAttribute | ||||
| ) |
| VRS::PointStyle::VRS_SERIALIZABLE | ( | PointStyle | ) |