Algebraic sphere shape node. More...
#include <Inventor/nodes/SoAlgebraicSphere.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoAlgebraicSphere () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFFloat | radius |
This node represents a sphere. By default, the sphere is centered at the origin and has a radius of 1.
The sphere is transformed by the current cumulative transformation and is drawn with the current lighting model and material.
This node can generally be used in place of the SoSphere geometric shape node. Unlike the geometric shape nodes, which create triangle geometry to represent their shape, the algebraic shape nodes compute and render their shape on the GPU. Algebraic shapes can also be used with SoMultipleInstance to efficiently render a very large number of shapes.
Please see SoAlgebraicShape for important notes and limitations for algebraic shapes.
radius | 1 |
SoAlgebraicShape, SoMultipleInstance, SoSphere
CustomAlgebraicShape, CustomComputeColor, MultiInstancingAlgebraicShapes
SoAlgebraicSphere::SoAlgebraicSphere | ( | ) |
Default constructor.
static SoType SoAlgebraicSphere::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAlgebraicShape.
virtual SoType SoAlgebraicSphere::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoAlgebraicShape.
Radius of sphere.
This must be greater than 0. Default is 1.