[Shapes]

Algebraic sphere shape node. More...

`#include <Inventor/nodes/SoAlgebraicSphere.h>`

Inheritance diagram for SoAlgebraicSphere:

## 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.

- AlgebraicSphere {

radius | 1 |

SoAlgebraicShape, SoMultipleInstance, SoSphere

**See related examples:**-
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.

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

- Inventor/nodes/SoAlgebraicSphere.h

Copyright © FEI S.A.S. All rights reserved.