public class ConnectorBoundsRenderer extends MonitorBase
Modifier and Type | Class and Description |
---|---|
class |
ConnectorBoundsRenderer.LineInfo |
class |
ConnectorBoundsRenderer.TriInfo |
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
ConnectorBoundsRenderer(SphericalJointForceBound bounds,
Frame glenoidFrame) |
ConnectorBoundsRenderer(SphericalJointForceBound bounds,
Frame baseFrame,
double size) |
ConnectorBoundsRenderer(SphericalJointForceBound bounds,
Point3d basePoint) |
ConnectorBoundsRenderer(SphericalJointForceBound bounds,
Point3d basePoint,
double size) |
Modifier and Type | Method and Description |
---|---|
void |
addRenderables() |
void |
apply(double t0,
double t1)
Called at the end of a
RootModel 's advance procedure |
RenderProps |
createRenderProps()
Factory method to create render properties appropriate to this object.
|
void |
drawTriangle(Renderer renderer,
ConnectorBoundsRenderer.TriInfo tri) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
SphericalJointForceBound |
getBounds() |
boolean |
isSelectable()
Returns true if this object is in fact selectable.
|
void |
prerender(RenderList list)
Called prior to rendering to allow this object to update the internal
state required for rendering (such as by caching rendering coordinates).
|
void |
render(Renderer renderer,
int flags)
Render this object using the functionality of the supplied
Renderer . |
copy, createState, getInitialState, getRenderHints, getRenderProps, getSelection, getState, hasState, numSelectionQueriesNeeded, setRenderProps, setState, updateBounds
dispose, finalize, getModel, initialize, isActive, setActive, setModel, setModelFromComponent, write
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getModel, initialize, isActive, setModel
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
createState, getInitialState, getState, setState
public static PropertyList myProps
public ConnectorBoundsRenderer(SphericalJointForceBound bounds, Frame glenoidFrame)
public ConnectorBoundsRenderer(SphericalJointForceBound bounds, Frame baseFrame, double size)
public ConnectorBoundsRenderer(SphericalJointForceBound bounds, Point3d basePoint)
public ConnectorBoundsRenderer(SphericalJointForceBound bounds, Point3d basePoint, double size)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class ModelAgentBase
public SphericalJointForceBound getBounds()
public void addRenderables()
public void apply(double t0, double t1)
Monitor
RootModel
's advance proceduret0
- time at start of stept1
- time at end of steppublic void prerender(RenderList list)
IsRenderable
list.addIfVisible (obj);
for each of the objects in question.prerender
in interface IsRenderable
prerender
in class ControllerMonitorBase
list
- list of objects to be renderedpublic void render(Renderer renderer, int flags)
IsRenderable
Renderer
.render
in interface IsRenderable
render
in class MonitorBase
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
.public RenderProps createRenderProps()
HasRenderProps
createRenderProps
in interface HasRenderProps
createRenderProps
in class ControllerMonitorBase
public boolean isSelectable()
ControllerMonitorBase
isSelectable
in interface IsSelectable
isSelectable
in class ControllerMonitorBase
public void drawTriangle(Renderer renderer, ConnectorBoundsRenderer.TriInfo tri)