[Shapes]

Algebraic cylinder shape node More...

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

Inheritance diagram for SoAlgebraicCylinder:

## Public Member Functions | |

virtual SoType | getTypeId () const |

SoAlgebraicCylinder () | |

## Static Public Member Functions | |

static SoType | getClassTypeId () |

## Public Attributes | |

SoSFFloat | height |

SoSFFloat | radius |

SoSFBool | capped |

This node represents a simple capped cylinder centered around the y-axis. By default, the cylinder is centered at (0,0,0) and has a default size of -1 to +1 in all three dimensions. You can use the radius and height fields to create a cylinder with a different size.

The cylinder 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 SoCylinder 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.

- AlgebraicCylinder {

radius | 1 |

height | 2 |

capping | FALSE |

SoAlgebraicShape, SoMultipleInstance, SoCylinder

**See related examples:**

SoAlgebraicCylinder::SoAlgebraicCylinder | ( | ) |

Default constructor.

static SoType SoAlgebraicCylinder::getClassTypeId | ( | ) | ` [static]` |

Returns the type identifier for this class.

Reimplemented from SoAlgebraicShape.

virtual SoType SoAlgebraicCylinder::getTypeId | ( | ) | const` [virtual]` |

Returns the type identifier for this specific instance.

Reimplemented from SoAlgebraicShape.

Specifies if cylinder is capped or not.

Default is false.

Specifies the cylinder's height.

Value must be greater than 0.0. Default is 1.

Specifies the cylinder's radius.

Value must be greater than 0.0. Default is 1.

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

- Inventor/nodes/SoAlgebraicCylinder.h

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