| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/opengl/pointspritesgl.h>
Public Member Functions | |
| PointSpritesGL (PolygonSet *points=NULL, double pointSize=10, bool spriteCoordinates=true) | |
| Constructs pointsprite that are parallel to the view-plane based on a set of. | |
| void | setPointSet (PolygonSet *points) |
| Set a new point set. | |
| SO< PolygonSet > | getPointSet () const |
| Returns the point set. | |
| void | setPointSize (double size) |
| Sets the point sprite size. | |
| double | getPointSize () const |
| Returns the point sprite size. | |
| void | spriteTextureCoordinates (bool enable) |
| Sets the radius of the disc. | |
| bool | spriteTextureCoordinates () const |
| Returns the radius of the disc. | |
| virtual Bounds | boundingBox () const |
| Bounding box of the point sprites. | |
| VRS_TYPEINFO (PointSpritesGL, Shape) | |
| VRS_SERIALIZABLE (PointSpritesGL) | |
| VRS::PointSpritesGL::PointSpritesGL | ( | PolygonSet * | points = NULL, |
|
| double | pointSize = 10, |
|||
| bool | spriteCoordinates = true | |||
| ) |
Constructs pointsprite that are parallel to the view-plane based on a set of.
pointSize defines the size ... and spriteCoordinates defines if automatic texture coordinate generation for points sprites should be used.
| void VRS::PointSpritesGL::setPointSet | ( | PolygonSet * | points | ) |
Set a new point set.
| SO< PolygonSet > VRS::PointSpritesGL::getPointSet | ( | ) | const [inline] |
Returns the point set.
| void VRS::PointSpritesGL::setPointSize | ( | double | size | ) | [inline] |
Sets the point sprite size.
| double VRS::PointSpritesGL::getPointSize | ( | ) | const [inline] |
Returns the point sprite size.
| void VRS::PointSpritesGL::spriteTextureCoordinates | ( | bool | enable | ) | [inline] |
Sets the radius of the disc.
| bool VRS::PointSpritesGL::spriteTextureCoordinates | ( | ) | const [inline] |
Returns the radius of the disc.
| virtual Bounds VRS::PointSpritesGL::boundingBox | ( | ) | const [virtual] |
| VRS::PointSpritesGL::VRS_TYPEINFO | ( | PointSpritesGL | , | |
| Shape | ||||
| ) |
| VRS::PointSpritesGL::VRS_SERIALIZABLE | ( | PointSpritesGL | ) |