|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.PipePort<T>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel<Point3d>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamPointDouble
public class ParamPointDouble
3D Point parameter for double floating point.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
PipePort.PortListener, PipePort.type |
| Field Summary | |
|---|---|
protected ParamDouble |
px
The px. |
protected ParamDouble |
py
The py. |
protected ParamDouble |
pz
The pz. |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
|---|
cliTag, description, factory, hidden, label, loadAndSaveOnValidate, mandatory, shortLabel |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire |
| Constructor Summary | |
|---|---|
ParamPointDouble()
Default constructor. |
|
ParamPointDouble(Point3d p)
Constructor. |
|
ParamPointDouble(java.lang.String name,
Point3d p)
Constructor. |
|
| Method Summary | |
|---|---|
ParamPointDouble |
clone()
Clone object. |
int |
compareTo(ParamModel model)
Compare specificity of parameters. |
java.lang.String |
getHumanReadableDataType()
|
ParamDouble |
getParamX()
Get X coordinate parameter. |
ParamDouble |
getParamY()
Get Y coordinate parameter. |
ParamDouble |
getParamZ()
Get Z coordinate parameter. |
Point3d |
getValue()
Get point value. |
java.lang.String |
getXMLValue()
|
void |
init()
Initialize parameter. |
boolean |
isCompatible(PipePort model)
Check for compatibility between parameters. |
java.lang.String |
probeDefaultValue()
|
void |
setValue(Point3d value)
Set double point value. |
void |
setValue(Point3f value)
Set float point value. |
void |
setValue(Point3i value)
Set integer point value. |
void |
setXMLValue(java.lang.String arg)
|
java.lang.String |
toString()
Get point description. |
void |
validate()
Validate coordinate values. |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
|---|
clean, createMipavParameter, createTreeNode, dispose, equals, getCliTag, getDescription, getFactory, getInputView, getLabel, getName, getOutputView, getShortLabel, getView, hide, importMipavParameter, importParameter, isConnectible, isHidden, isMandatory, loadResources, loadResources, read, read, replacePath, saveResources, setCliTag, setDescription, setFactory, setHidden, setInputView, setLabel, setLoadAndSaveOnValidate, setMandatory, setName, setOutputView, setShortLabel, toXML, write, write, writeAndFreeNow |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
addListener, disconnect, disconnect, disconnect, disconnect, getGraphPort, getIncomingConnector, getIncomingConnectors, getIncomingPorts, getListeners, getMaxIncoming, getMaxOutgoing, getOutgoingConnector, getOutgoingConnectors, getOutgoingPorts, getOwner, getPortType, isConnected, isConnectedTo, isInputPort, isOutputPort, notifyListenersOfConnection, notifyListenersOfDisconnection, removeAllListeners, removeListener, setConnectable, setGraphPort, setMaxIncoming, setMaxOutgoing, setOwner, setPortType, setUseConnector, usingConnector |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ParamDouble px
protected ParamDouble py
protected ParamDouble pz
| Constructor Detail |
|---|
public ParamPointDouble()
public ParamPointDouble(Point3d p)
p - point
public ParamPointDouble(java.lang.String name,
Point3d p)
name - parameter namep - point| Method Detail |
|---|
public ParamPointDouble clone()
clone in class ParamModel<Point3d>public int compareTo(ParamModel model)
ParamModel
compareTo in interface java.lang.Comparable<ParamModel>compareTo in class ParamModel<Point3d>model - the mod
public ParamDouble getParamX()
getParamX in interface ParamPointpublic ParamDouble getParamY()
getParamY in interface ParamPointpublic ParamDouble getParamZ()
getParamZ in interface ParamPointpublic Point3d getValue()
getValue in class ParamModel<Point3d>public void init()
init in class PipePort<Point3d>public boolean isCompatible(PipePort model)
ParamModel
isCompatible in class ParamModel<Point3d>model - foreign parameter
public void setValue(Point3d value)
throws InvalidParameterValueException
setValue in class ParamModel<Point3d>value - the value
InvalidParameterValueException - the invalid parameter value exception
public void setValue(Point3f value)
throws InvalidParameterValueException
setValue in class ParamModel<Point3d>value - point
InvalidParameterValueException - the invalid parameter value exception
public void setValue(Point3i value)
throws InvalidParameterValueException
setValue in class ParamModel<Point3d>value - point
InvalidParameterValueException - the invalid parameter value exceptionpublic java.lang.String toString()
toString in class ParamModel<Point3d>
public void validate()
throws InvalidParameterException
validate in class ParamModel<Point3d>InvalidParameterException - the invalid parameter exceptionpublic java.lang.String getHumanReadableDataType()
getHumanReadableDataType in class ParamModel<Point3d>public java.lang.String getXMLValue()
getXMLValue in class ParamModel<Point3d>public void setXMLValue(java.lang.String arg)
setXMLValue in class ParamModel<Point3d>public java.lang.String probeDefaultValue()
probeDefaultValue in class ParamModel<Point3d>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||