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

Public Methods | |
| sglLineWidth (float line_width=1.0f) | |
| virtual | ~sglLineWidth () |
| void | setLineWidth (float line_width) |
| float | getLineWidth () const |
| void | apply (sglCurrState *curr_state) const |
| virtual bool | getSorted () const |
| virtual void | printInfo (ostream &ostrm, const char *indent_string) const |
Example:
sglLineWidth *line_width = new sglLineWidth; // the default of 1. line_width->setLineWidth(2.5f); // 2.5 times large
Definition at line 1308 of file sglStatelet.hpp.
|
|
Constructor (and the default constructor).
Definition at line 1316 of file sglStatelet.hpp. |
|
|
virtual destructor.
Definition at line 1321 of file sglStatelet.hpp. |
|
|
Set the line width.
Referenced by sglLineWidth(). |
|
|
Query the current line width
Definition at line 1332 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 1338 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