|
|||||||||
| 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<Point3f>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamPointFloat
public class ParamPointFloat
3D Point parameter for 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 ParamFloat |
px
The px. |
protected ParamFloat |
py
The py. |
protected ParamFloat |
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 | |
|---|---|
ParamPointFloat()
Default constructor. |
|
ParamPointFloat(Point3f p)
Constructor. |
|
ParamPointFloat(java.lang.String name,
Point3f p)
Constructor. |
|
| Method Summary | |
|---|---|
ParamPointFloat |
clone()
Clone object. |
int |
compareTo(ParamModel model)
Compare specificity of parameters. |
java.lang.String |
getHumanReadableDataType()
|
ParamFloat |
getParamX()
Get X coordinate. |
ParamFloat |
getParamY()
Get Y coordinate. |
ParamFloat |
getParamZ()
Get Z coordinate. |
Point3f |
getValue()
Get float point. |
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 description of point. |
void |
validate()
Validate point coordinates. |
| 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 ParamFloat px
protected ParamFloat py
protected ParamFloat pz
| Constructor Detail |
|---|
public ParamPointFloat()
public ParamPointFloat(Point3f p)
p - point
public ParamPointFloat(java.lang.String name,
Point3f p)
name - parameter namep - point| Method Detail |
|---|
public ParamPointFloat clone()
clone in class ParamModel<Point3f>public int compareTo(ParamModel model)
ParamModel
compareTo in interface java.lang.Comparable<ParamModel>compareTo in class ParamModel<Point3f>model - the mod
public ParamFloat getParamX()
getParamX in interface ParamPointpublic ParamFloat getParamY()
getParamY in interface ParamPointpublic ParamFloat getParamZ()
getParamZ in interface ParamPointpublic Point3f getValue()
getValue in class ParamModel<Point3f>public void init()
init in class PipePort<Point3f>public boolean isCompatible(PipePort model)
ParamModel
isCompatible in class ParamModel<Point3f>model - foreign parameter
public void setValue(Point3d value)
throws InvalidParameterValueException
setValue in class ParamModel<Point3f>value - the value
InvalidParameterValueException - the invalid parameter value exception
public void setValue(Point3f value)
throws InvalidParameterValueException
setValue in class ParamModel<Point3f>value - point
InvalidParameterValueException - the invalid parameter value exception
public void setValue(Point3i value)
throws InvalidParameterValueException
setValue in class ParamModel<Point3f>value - point
InvalidParameterValueException - the invalid parameter value exceptionpublic java.lang.String toString()
toString in class ParamModel<Point3f>
public void validate()
throws InvalidParameterException
validate in class ParamModel<Point3f>InvalidParameterException - the invalid parameter exceptionpublic java.lang.String getHumanReadableDataType()
getHumanReadableDataType in class ParamModel<Point3f>public java.lang.String getXMLValue()
getXMLValue in class ParamModel<Point3f>public void setXMLValue(java.lang.String arg)
setXMLValue in class ParamModel<Point3f>public java.lang.String probeDefaultValue()
probeDefaultValue in class ParamModel<Point3f>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||