SoFullSceneAntialiasing Class Reference
[Properties]

VSG extension Node that controls full-scene antialiasing. More...

#include <Inventor/nodes/SoFullSceneAntialiasing.h>

Inheritance diagram for SoFullSceneAntialiasing:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  Filter {
  POINTS = SoFullSceneAntialiasingElement::POINTS,
  LINES = SoFullSceneAntialiasingElement::LINES,
  POLYGONS = SoFullSceneAntialiasingElement::POLYGONS,
  TEXT = SoFullSceneAntialiasingElement::TEXT,
  ALL = SoFullSceneAntialiasingElement::ALL
}

Public Member Functions

virtual SoType getTypeId () const
 SoFullSceneAntialiasing ()
virtual void setOverride (const SbBool state)
virtual SbBool isOverride () const

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFBool on
SoSFBitMask filter

Detailed Description

VSG extension Node that controls full-scene antialiasing.

This class controls full-scene antialiasing. This node can be used to enable or disable the antialiasing mode on a part of a scene graph.

This node has no effect if full-scene antialiasing is not supported in the graphics hardware or has not been enabled. Full-scene antialiasing can be enabled by defining a graphic configuration template, by calling the setAntialiasing() method in SoSceneManager and some viewer classes, or (on some systems) by the user through the system display properties dialog.

The filter field allows you to select what kind of nodes (derived from SoShape) will be antialiased. For certain primitives antialiasing may be undesirable. For example, bitmap text (SoText2, etc.) may be "blurred" by antialiasing.

The filter result is highly dependent on your graphics hardware.

Note: The quality level specified by the setAntialiasing() method cannot be changed during a traversal because it depends on the pixel format.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoGLGraphicConfigTemplate, SoWinGLWidget::setAntialiasing()


Member Enumeration Documentation

Defines the types of rendering shapes.

Enumerator:
POINTS 

The shape is render based on points (Ex: SoPointSet).

LINES 

The shape is render based on lines (Ex: SoLineSet).

POLYGONS 

The shape is render based on polygons (Ex: SoFaceSet).

TEXT 

The shape is a text and follows the special filter for texts.

ALL 

No specific filter for antialiasing (Default).


Constructor & Destructor Documentation

SoFullSceneAntialiasing::SoFullSceneAntialiasing (  ) 

Constructor.


Member Function Documentation

static SoType SoFullSceneAntialiasing::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

virtual SoType SoFullSceneAntialiasing::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.

virtual SbBool SoFullSceneAntialiasing::isOverride (  )  const [inline, virtual]

Returns the state of the override field.

Reimplemented from SoNode.

virtual void SoFullSceneAntialiasing::setOverride ( const SbBool  state  )  [inline, virtual]

Set the state of the override field.

see SoNode::setOverride doc.

Reimplemented from SoNode.


Member Data Documentation

A bit-wise combination of LINES, POINTS, POLYGONS, and TEXT that determines which primitive types should be antialiased.



Default = ALL. The default value can be set using the environment variable OIV_FULL_SCENE_ANTIALIASING_FILTER. Valid values are ALL, or any combination of LINES, POINTS, POLYGONS, and TEXT.

The rules to determine if the antialiasing extension should stay enabled or should be disabled are described in the following tables:

ShapeFilterTable
Shape Type
Draw Style
Filter
Enable AA
POLYGON FILLED LINES
POINTS
POLYGONS
TEXT
ALL


X

X
LINES LINES
POINTS
POLYGONS
TEXT
ALL
X



X
POINTS LINES
POINTS
POLYGONS
TEXT
ALL

X


X
INVISIBLE
-
 
Shape Type
Draw Style
Filter
Enable AA
TEXT FILLED LINES
POINTS
POLYGONS
TEXT
ALL


X
X
X
LINES LINES
POINTS
POLYGONS
TEXT
ALL
X


X
X
POINTS LINES
POINTS
POLYGONS
TEXT
ALL

X

X
X
INVISIBLE
-
 
All text are antialiased when the SoFullSceneAntialiasing filter is set to TEXT Otherwise, the AA is made considering the draw style element state.
Shape Type
Draw Style
Filter
Enable AA
LINE FILLED
LINES
LINES
POINTS
POLYGONS
TEXT
ALL
X



X
POINTS LINES
POINTS
POLYGONS
TEXT
ALL

X


X
INVISIBLE
-
 
Shape Type
Draw Style
Filter
Enable AA
POINT FILLED
LINES
POINTS
LINES
POINTS
POLYGONS
TEXT
ALL

X


X
INVISIBLE
-
 

 

Enables/disables full-scene antialiasing.



Default = TRUE. The default value can be set using the environment variable OIV_FULL_SCENE_ANTIALIASING (0 = FALSE, 1 = TRUE).


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/