PointRendererInterface Class Reference

Base Interface for rendering particles with points. More...

Inheritance diagram for PointRendererInterface:
GLPointRenderer IRRPointRenderer SFMLPointRenderer

List of all members.

Public Member Functions

 PointRendererInterface (PointType type=POINT_SQUARE, float size=1.0f)
 Constructor of PointRendererInterface.
virtual ~PointRendererInterface ()
 Destructor of PointRendererInterface.
virtual bool setType (PointType type)
 Sets the type of points to use in this PointRendererInterface.
virtual void setSize (float size)
 Sets the size of the points in this PointRendererInterface.
PointType getType () const
 Gets the type of points in this PointRendererInterface.
float getSize () const
 Gets the size of points in this PointRendererInterface.

Detailed Description

Base Interface for rendering particles with points.

Since:
1.04.00

Definition at line 45 of file SPK_PointRendererInterface.h.


Constructor & Destructor Documentation

PointRendererInterface ( PointType  type = POINT_SQUARE,
float  size = 1.0f 
)

Constructor of PointRendererInterface.

Parameters:
type : the initial type of this PointRendererInterface (must be supported by default by the platform)
size : the width of this PointRendererInterface

Definition at line 110 of file SPK_PointRendererInterface.h.

virtual ~PointRendererInterface (  )  [virtual]

Destructor of PointRendererInterface.

Definition at line 65 of file SPK_PointRendererInterface.h.


Member Function Documentation

float getSize (  )  const

Gets the size of points in this PointRendererInterface.

Returns:
the size of points in this PointRendererInterface

Definition at line 131 of file SPK_PointRendererInterface.h.

PointType getType (  )  const

Gets the type of points in this PointRendererInterface.

Returns:
the type of points in this PointRendererInterface

Definition at line 126 of file SPK_PointRendererInterface.h.

void setSize ( float  size  )  [virtual]

Sets the size of the points in this PointRendererInterface.

Parameters:
size : the size of the points in this PointRendererInterface

Reimplemented in IRRPointRenderer.

Definition at line 121 of file SPK_PointRendererInterface.h.

bool setType ( PointType  type  )  [virtual]

Sets the type of points to use in this PointRendererInterface.

If the type is not supported by the platform, false is returned and the type per default is set.

Parameters:
type : the type of points to use in this PointRendererInterface
Returns:
true if the type can be set, false otherwise

Reimplemented in IRRPointRenderer, GLPointRenderer, and SFMLPointRenderer.

Definition at line 115 of file SPK_PointRendererInterface.h.


Generated on Wed Apr 27 21:09:26 2011 for SPARK Particle Engine by  doxygen 1.6.1