de.jreality.scene
Class Cylinder

java.lang.Object
  extended by de.jreality.scene.SceneGraphNode
      extended by de.jreality.scene.Geometry
          extended by de.jreality.scene.Cylinder

public class Cylinder
extends Geometry

Cylinder with axis from (0,0,-1) to (0,0,1) and radius 1. Put into SceneGraphComponent and use transformations to get a scaled cylinder in arbitrary position.

TODO: Resolve the fact that backends differ on whether it is a closed or an open cylinder.

Author:
Unknown

Field Summary
 
Fields inherited from class de.jreality.scene.Geometry
CATEGORY_EDGE, CATEGORY_FACE, CATEGORY_VERTEX
 
Constructor Summary
Cylinder()
           
Cylinder(String name)
           
 
Method Summary
 void accept(SceneGraphVisitor v)
          The accept method for a SceneGraphVisitor.
 
Methods inherited from class de.jreality.scene.Geometry
addGeometryListener, getAttributes, getAttributes, getGeometryAttributeCathegories, getGeometryAttributes, getGeometryAttributes, getNumEntries, removeGeometryListener, setAttributes, setAttributes, setCountAndAttributes, setCountAndAttributes, setGeometryAttributes, setGeometryAttributes, setNumEntries
 
Methods inherited from class de.jreality.scene.SceneGraphNode
getName, getOwner, getThreadSafe, isReadOnly, setName, setOwner, setReadOnly, setThreadSafe, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cylinder

public Cylinder(String name)

Cylinder

public Cylinder()
Method Detail

accept

public void accept(SceneGraphVisitor v)
Description copied from class: SceneGraphNode
The accept method for a SceneGraphVisitor.

Overrides:
accept in class Geometry