public class ShowPropertiesTool extends AbstractTool
Constructor and Description |
---|
ShowPropertiesTool() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
void |
deactivate(ToolContext tc)
this method is called when the tool was activate and the
AxisState of the activation slot changes to AxisState.RELEASED - to zero.
|
boolean |
geometryMatched() |
double[] |
getDir() |
double[] |
getFrom() |
Matrix |
getObj2WorldTrans() |
int[] |
getPickedEdgeVertexInds() |
double[][] |
getPickedEdgeVerts() |
int[] |
getPickedFaceVertexInds() |
double[][] |
getPickedFaceVerts() |
double[] |
getPickedObjectWC() |
double[] |
getPickedVertNormalOC() |
double[] |
getPickedVertNormalWC() |
double[] |
getPickedVertOC() |
double[] |
getPickedVertTexC() |
double[] |
getPickedVertWC() |
void |
holdLog(boolean hold) |
void |
holdLogFrame(boolean hold) |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setHomogeneousLogging(boolean hom) |
addCurrentSlot, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
public void activate(ToolContext tc)
Tool
activate
in interface Tool
activate
in class AbstractTool
tc
- The current tool contextpublic void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic void deactivate(ToolContext tc)
Tool
deactivate
in interface Tool
deactivate
in class AbstractTool
tc
- The current tool contextpublic double[] getFrom()
public double[] getDir()
public boolean geometryMatched()
public Matrix getObj2WorldTrans()
public double[] getPickedVertOC()
public double[] getPickedVertWC()
public double[] getPickedVertNormalOC()
public double[] getPickedVertNormalWC()
public double[] getPickedVertTexC()
public int[] getPickedEdgeVertexInds()
public double[][] getPickedEdgeVerts()
public int[] getPickedFaceVertexInds()
public double[][] getPickedFaceVerts()
public double[] getPickedObjectWC()
public void holdLog(boolean hold)
public void holdLogFrame(boolean hold)
public void setHomogeneousLogging(boolean hom)