version 3.3

VRS::PointSpritesGL Class Reference

PointSpritesGL shape. More...

#include <vrs/opengl/pointspritesgl.h>

Inheritance diagram for VRS::PointSpritesGL:

VRS::Shape VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

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< PolygonSetgetPointSet () 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)


Detailed Description

PointSpritesGL shape.

Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Bounding box of the point sprites.

Implements VRS::Shape.

VRS::PointSpritesGL::VRS_TYPEINFO ( PointSpritesGL  ,
Shape   
)

VRS::PointSpritesGL::VRS_SERIALIZABLE ( PointSpritesGL   ) 


The documentation for this class was generated from the following file:

Generated on Tue May 22 06:00:24 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact