Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoFullSceneAntialiasingElement Class Reference

VSG extension Stores the current Full-Scene Antialising state. More...

#include <Inventor/elements/SoFullSceneAntialiasingElement.h>

+ Inheritance diagram for SoFullSceneAntialiasingElement:

Public Types

enum  Filter {
  POINTS = 0x01 ,
  LINES = 0x02 ,
  POLYGONS = 0x04 ,
  TEXT = 0x08 ,
  ALL = LINES | POINTS | POLYGONS | TEXT
}
 Filter. More...
 

Public Member Functions

virtual void push (SoState *state)
 Push copies the values from the previous element.
 
- Public Member Functions inherited from SoElement
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, SbBool on, SbBool currOn, int filter)
 Sets the current Full-Scene Antialising attributes in the state.
 
static SbBool get (SoState *state, SbBool &on, SbBool &pointsOn, SbBool &linesOn, SbBool &polygonsOn, SbBool &textsOn, int &filter)
 Gets the current Full-Scene Antialising attributes in the state.
 
static SoFullSceneAntialiasingElementgetInstance (const SoState *state)
 Returns the top (current) instance of the element in the state.
 
static SbBool getDefault (SbBool &on, SbBool &pointsOn, SbBool &linesOn, SbBool &polygonsOn, SbBool &textsOn, int &filter)
 Returns the default values.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Stores the current Full-Scene Antialising state.

This element stores the current Full-Scene Antialising state.

SEE ALSO

SoFullSceneAntialiasing, SoWinGLWidget, SoXtGLWidget, SoQtGLWidget

Definition at line 39 of file SoFullSceneAntialiasingElement.h.

Member Enumeration Documentation

◆ Filter

Filter.

Enumerator
POINTS 

Points.

LINES 

Lines.

POLYGONS 

Polygons.

TEXT 

Text.

ALL 

All.

Definition at line 45 of file SoFullSceneAntialiasingElement.h.

Member Function Documentation

◆ get()

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.

◆ getClassStackIndex()

static int SoFullSceneAntialiasingElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoFullSceneAntialiasingElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static SbBool SoFullSceneAntialiasingElement::getDefault ( SbBool on,
SbBool pointsOn,
SbBool linesOn,
SbBool polygonsOn,
SbBool textsOn,
int &  filter 
)
static

Returns the default values.

◆ getInstance()

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.

◆ push()

virtual void SoFullSceneAntialiasingElement::push ( SoState state)
virtual

Push copies the values from the previous element.

Reimplemented from SoElement.

◆ set()

static void SoFullSceneAntialiasingElement::set ( SoState state,
SbBool  on,
SbBool  currOn,
int  filter 
)
static

Sets the current Full-Scene Antialising attributes in the state.


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