de.jreality.scene
Class ClippingPlane
java.lang.Object
de.jreality.scene.SceneGraphNode
de.jreality.scene.Geometry
de.jreality.scene.ClippingPlane
public class ClippingPlane
- extends Geometry
A clipping plane through the origin with normal pointing in positive z direction.
All points with positive z will be clipped away. Insert into scene graph using
SceneGraphComponent.setGeometry(Geometry)
and
use transformations to get clipping plane into arbitrary position. To flip the clipped
side, attach a reflection in z=0 to the ScneGraphComponent containing the clipping plane.
planes
- Author:
- timh, gunn
Methods inherited from class de.jreality.scene.Geometry |
addGeometryListener, getAttributes, getAttributes, getGeometryAttributeCathegories, getGeometryAttributes, getGeometryAttributes, getNumEntries, removeGeometryListener, setAttributes, setAttributes, setCountAndAttributes, setCountAndAttributes, setGeometryAttributes, setGeometryAttributes, setNumEntries |
ClippingPlane
public ClippingPlane(String name)
ClippingPlane
public ClippingPlane()
isLocal
public boolean isLocal()
setLocal
public void setLocal(boolean local)
accept
public void accept(SceneGraphVisitor v)
- Description copied from class:
SceneGraphNode
- The accept method for a SceneGraphVisitor.
- Overrides:
accept
in class Geometry