public class MeshIntersectingProbe extends CutPlaneProbe
Probe.ExportProps, Probe.ImportExportFileInfoModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
useOldSaveMethod, writeStartStopTimeInSecondsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTRANSPARENT, 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, updateBoundscreateState, exportData, 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, isEditable, isEventTime, isInput, isPrintable, isScalable, isSettable, load, nextEventTime, print, save, scan, setAttachedFileName, setData, setExportFileName, setImportFileName, setInterval, setName, setScalable, setScale, setStartStopTimes, setStartTime, setState, setStopTime, setTrack, setUpdateIntervaldispose, finalize, getModel, isActive, setActive, setModel, setModelFromComponent, writecheckFlag, 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, updateReferencesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetPropertygetChildren, hasChildrenpostscanisWritable, writepublic 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()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class CutPlaneProbepublic 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)
IsRenderableRenderer.render in interface IsRenderablerender in class CutPlaneProberenderer - 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.