#include <sglStatelet.hpp>
Inheritance diagram for sglPointSize::

Public Methods | |
| sglPointSize (float point_size=1.0f) | |
| virtual | ~sglPointSize () |
| void | setPointSize (float point_size) |
| float | getPointSize () const |
| void | apply (sglCurrState *curr_state) const |
| virtual bool | getSorted () const |
| virtual void | printInfo (ostream &ostrm, const char *indent_string) const |
Example:
sglPointSize *point_size = new sglPointSize; // the default of 1. point_size->setPointSize(2.5f); // 2.5 times large
Definition at line 1547 of file sglStatelet.hpp.
|
|
Constructor (also the default constructor)
Definition at line 1555 of file sglStatelet.hpp. |
|
|
virtual destructor.
Definition at line 1560 of file sglStatelet.hpp. |
|
|
Set the point size
Referenced by sglPointSize(). |
|
|
Query the current point size
Definition at line 1571 of file sglStatelet.hpp. |
|
|
Apply this state change to the current rendering state.
Reimplemented from sglStatelet. |
|
|
Query the sorting mode for this statelet.
Reimplemented from sglStatelet. Definition at line 1580 of file sglStatelet.hpp. |
|
|
Output the state of this node to the specified ostream.
Reimplemented from sglStatelet. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001