public class ClippingPlane extends Geometry
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.
planesCATEGORY_EDGE, CATEGORY_FACE, CATEGORY_VERTEX
Constructor and Description |
---|
ClippingPlane() |
ClippingPlane(String name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(SceneGraphVisitor v)
The accept method for a SceneGraphVisitor.
|
double[] |
getPlane() |
boolean |
isLocal() |
void |
setLocal(boolean local) |
void |
setPlane(double[] plane) |
addGeometryListener, getAttributes, getAttributes, getGeometryAttributeCathegories, getGeometryAttributes, getGeometryAttributes, getNumEntries, removeGeometryListener, setAttributes, setAttributes, setCountAndAttributes, setCountAndAttributes, setGeometryAttributes, setGeometryAttributes, setNumEntries
getName, getOwner, getThreadSafe, isReadOnly, setName, setOwner, setReadOnly, setThreadSafe, toString
public ClippingPlane(String name)
public ClippingPlane()
public boolean isLocal()
public void setLocal(boolean local)
public void accept(SceneGraphVisitor v)
SceneGraphNode
public double[] getPlane()
public void setPlane(double[] plane)