SoAlgebraicSphere Class Reference
[Shapes]

VSG extension Algebraic sphere shape node. More...

#include <Inventor/nodes/SoAlgebraicSphere.h>

Inheritance diagram for SoAlgebraicSphere:
SoAlgebraicShape SoShape SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoAlgebraicSphere ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFFloat radius

Detailed Description

VSG extension Algebraic sphere shape node.

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.

FILE FORMAT/DEFAULT

SEE ALSO

SoAlgebraicShape, SoMultipleInstance, SoSphere

See related examples:

CustomAlgebraicShape, CustomComputeColor, MultiInstancingAlgebraicShape


Constructor & Destructor Documentation

SoAlgebraicSphere::SoAlgebraicSphere (  ) 

Default constructor.


Member Function Documentation

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.


Member Data Documentation

Radius of sphere.

This must be greater than 0. Default is 1.


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/