Stores the current Full-Scene Antialising state. More...
#include <Inventor/elements/SoFullSceneAntialiasingElement.h>
Public Types | |
enum | Filter { POINTS = 0x01, LINES = 0x02, POLYGONS = 0x04, TEXT = 0x08, ALL = LINES | POINTS | POLYGONS | TEXT } |
Public Member Functions | |
virtual void | push (SoState *state) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SbBool on, SbBool currOn, int filter) |
static SbBool | get (SoState *state, SbBool &on, SbBool &pointsOn, SbBool &linesOn, SbBool &polygonsOn, SbBool &textsOn, int &filter) |
static SoFullSceneAntialiasingElement * | getInstance (const SoState *state) |
static SbBool | getDefault (SbBool &on, SbBool &pointsOn, SbBool &linesOn, SbBool &polygonsOn, SbBool &textsOn, int &filter) |
This element stores the current Full-Scene Antialising state.
SoFullSceneAntialiasing, SoWinGLWidget, SoXtGLWidget, SoQtGLWidget
static SbBool SoFullSceneAntialiasingElement::get | ( | SoState * | state, | |
SbBool & | on, | |||
SbBool & | pointsOn, | |||
SbBool & | linesOn, | |||
SbBool & | polygonsOn, | |||
SbBool & | textsOn, | |||
int & | filter | |||
) | [static] |
Gets the current Full-Scene Antialising attributes in the state.
static int SoFullSceneAntialiasingElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoElement.
static SoType SoFullSceneAntialiasingElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoElement.
static SbBool SoFullSceneAntialiasingElement::getDefault | ( | SbBool & | on, | |
SbBool & | pointsOn, | |||
SbBool & | linesOn, | |||
SbBool & | polygonsOn, | |||
SbBool & | textsOn, | |||
int & | filter | |||
) | [static] |
Returns the default values.
static SoFullSceneAntialiasingElement* SoFullSceneAntialiasingElement::getInstance | ( | const SoState * | state | ) | [static] |
Returns the top (current) instance of the element in the state.
Note it does NOT cause cache dependency! It also casts away the const.
virtual void SoFullSceneAntialiasingElement::push | ( | SoState * | state | ) | [virtual] |
Push copies the values from the previous element.
Reimplemented from SoElement.
static void SoFullSceneAntialiasingElement::set | ( | SoState * | state, | |
SbBool | on, | |||
SbBool | currOn, | |||
int | filter | |||
) | [static] |
Sets the current Full-Scene Antialising attributes in the state.