24#ifndef _SO_FULL_SCENE_ANTIALIASING_ELEMENT_
25#define _SO_FULL_SCENE_ANTIALIASING_ELEMENT_
27#include <Inventor/elements/SoSubElement.h>
39SoEXTENDER_Documented
class SoFullSceneAntialiasingElement :
public SoElement {
41 SO_ELEMENT_HEADER(SoFullSceneAntialiasingElement);
100 virtual void init(
SoState *state);
105 virtual SbBool matches(
const SoElement* elt)
const;
110 virtual SoElement* copyMatchInfo()
const;
114 static void initClass();
115 static void exitClass();
119 uint8_t m_sampleCount;
126 virtual void setElt(
SbBool on,
SbBool currOn,
int filter);
128 virtual void setElt(uint8_t sampleCount);
130 virtual ~SoFullSceneAntialiasingElement();
static void set(SoState *state, SbBool on, SbBool currOn, int filter)
Sets the current Full-Scene Antialising attributes in the state.
static SoFullSceneAntialiasingElement * getInstance(const SoState *state)
Returns the top (current) instance of the element 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 void setSampleCount(SoState *state, uint8_t sampleCount)
Set the sample count to be used for Full-Scene Antialiasing.
virtual void push(SoState *state)
Push copies the values from the previous element.
static SbBool getDefault(SbBool &on, SbBool &pointsOn, SbBool &linesOn, SbBool &polygonsOn, SbBool &textsOn, int &filter, uint8_t &sampleCount)
Returns the default values.
static SbBool getDefault(SbBool &on, SbBool &pointsOn, SbBool &linesOn, SbBool &polygonsOn, SbBool &textsOn, int &filter)
Returns the default values.