public class MeshIntersectingProbe extends CutPlaneProbe
Probe.ExportProps, Probe.ImportExportFileInfo
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
useOldSaveMethod, writeStartStopTimeInSeconds
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
MeshIntersectingProbe() |
MeshIntersectingProbe(Point3d center,
AxisAngle orientation,
Vector2d size)
Creates a probe with a display plane
|
MeshIntersectingProbe(PolygonalMesh mesh) |
Modifier and Type | Method and Description |
---|---|
void |
clip(boolean enable)
Clips the display plane to lie solely within the associated mesh
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
boolean |
getDrawIntersections()
Returns whether we are drawing intersections with the plane
|
java.util.ArrayList<Face> |
getFaces(Vertex3d vtx)
Returns a list of all faces that use this vertex
|
PolygonalMesh |
getIntersectingMesh()
Gets the associated mesh
|
boolean |
isClipped()
Returns whether we are clipped to a mesh
|
void |
render(Renderer renderer,
int flags)
Render this object using the functionality of the supplied
Renderer . |
void |
setDrawIntersections(boolean enable)
Enable/disable drawing of intersections of mesh with the plane
|
void |
setIntersectingMesh(PolygonalMesh mesh)
Sets the mesh to compute intersections with
|
apply, centerInViewer, createRenderProps, draggerAdded, draggerBegin, draggerEnd, draggerMove, draggerRemoved, draggerRepositioned, getDragger, getOrientation, getPlane, getPlane, getPosition, getRenderHints, getRenderProps, getResolution, getSelection, getSize, getTransformableDescendents, initialize, isSelectable, numSelectionQueriesNeeded, prerender, resetInViewer, setDragger, setGridToWorld, setOrientation, setPlane, setPlane, setPosition, setRenderProps, setResolution, setSize, transformGeometry, transformGeometry, updateBounds
createState, export, getAttachedFile, getAttachedFileName, getChildren, getClippedVirtualTime, getDefaultScale, getDefaultStartTime, getDefaultStopTime, getDefaultUpdateInterval, getDuration, getExportFile, getExportFileInfo, getExportFileName, getExportProps, getFileFromPath, getImportFile, getImportFileInfo, getImportFileName, getInitialState, getPathFromFile, getProperty, getScale, getStartTime, getState, getStopTime, getTimelineTime, getTrack, getUpdateInterval, getVirtualTime, hasAttachedFile, hasChildren, hasState, importData, isAttachedFileRelative, isCloneable, isEventTime, isInput, isPrintable, isScalable, isSettable, load, nextEventTime, print, save, scan, setAttachedFileName, setData, setExportFileName, setImportFileName, setInterval, setName, setScalable, setScale, setStartStopTimes, setStartTime, setState, setStopTime, setTrack, setUpdateInterval
dispose, finalize, getModel, isActive, setActive, setModel, setModelFromComponent, write
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
postscan
isWritable, write
public static PropertyList myProps
public MeshIntersectingProbe()
public MeshIntersectingProbe(Point3d center, AxisAngle orientation, Vector2d size)
center
- centre of planeorientation
- orientation of plane (originally x-y)size
- size of planepublic MeshIntersectingProbe(PolygonalMesh mesh)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class CutPlaneProbe
public void setIntersectingMesh(PolygonalMesh mesh)
public PolygonalMesh getIntersectingMesh()
public void setDrawIntersections(boolean enable)
public boolean getDrawIntersections()
public boolean isClipped()
public void clip(boolean enable)
enable
- if true
, enables display plane clippingpublic void render(Renderer renderer, int flags)
IsRenderable
Renderer
.render
in interface IsRenderable
render
in class CutPlaneProbe
renderer
- provides the functionality used to perform the rendering.flags
- flags that may be used to control different
aspects of the rendering. Flags are defined in Renderer
and currently include
Renderer.HIGHLIGHT
and
Renderer.SORT_FACES
.