|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.wired.heprep.projection.AbstractProjection
hep.wired.heprep.projection.CompositeProjection
public class CompositeProjection
Sequence of projections.
| Field Summary |
|---|
| Fields inherited from class hep.wired.heprep.projection.AbstractProjection |
|---|
defaultProjections |
| Fields inherited from interface hep.wired.util.XYZindices |
|---|
X, Y, Z |
| Fields inherited from interface hep.wired.util.UVWindices |
|---|
U, V, W |
| Constructor Summary | |
|---|---|
CompositeProjection()
Creates a composite projection. |
|
CompositeProjection(String name)
Creates a named empty composite projection. |
|
CompositeProjection(String name,
Projection[] projections)
Creates a named composite projection filled with the given array of projections. |
|
| Method Summary | |
|---|---|
void |
add(Projection p)
Adds a projection to the end of the list. |
Projection |
copy()
Returns a deep copy of the projection. |
double[] |
deltaTransform(double[] xyz)
Returns an array of length 3: uvw = delta projection(xyz). |
Feature |
getFeature(Class featureClass)
Returns feature if supported by this projection. |
String |
getFormula()
Returns the formula in text readable form |
List |
getProjections()
Returns the list of projections. |
double[] |
inverseDeltaTransform(double[] uvw)
Returns an array of length 3: xyz = inverse delta projection(uvw). |
double[] |
inverseTransform(double[] uvw)
Returns an array of length 3: xyz = inverse projection(uvw). |
Object |
reset(Object newStates)
Resets graphics panel to a new state or its initial state. |
void |
restore(org.freehep.xml.io.XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
|
void |
save(org.freehep.xml.io.XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
|
void |
setViewPort(ViewPort viewPort)
Sets the associated viewport. |
boolean |
supports(Class featureClass)
Return true if this (composite) projection implements this featureClass. |
double[] |
transform(double[] xyz)
Returns an array of length 3: uvw = projection(xyz). |
double[][] |
transform(double[][] xyz,
int n)
Implements this method in terms of double[] transform(double[] xyz). |
| Methods inherited from class hep.wired.heprep.projection.AbstractProjection |
|---|
getID, getName, getViewPort, toString, transform, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hep.wired.heprep.services.Projection |
|---|
getName, getViewPort, transform, transform |
| Methods inherited from interface hep.wired.util.WiredRegistry.ID |
|---|
getID |
| Constructor Detail |
|---|
public CompositeProjection()
public CompositeProjection(String name)
public CompositeProjection(String name,
Projection[] projections)
| Method Detail |
|---|
public String getFormula()
Projection
getFormula in interface ProjectiongetFormula in class AbstractProjectionpublic boolean supports(Class featureClass)
Projection
supports in interface Projectionsupports in class AbstractProjectionpublic Feature getFeature(Class featureClass)
AbstractProjection
getFeature in interface ProjectiongetFeature in class AbstractProjectionpublic void setViewPort(ViewPort viewPort)
Projection
setViewPort in interface ProjectionsetViewPort in class AbstractProjectionpublic void add(Projection p)
public List getProjections()
public double[] transform(double[] xyz)
Projection
transform in interface Projectiontransform in class AbstractProjection
public double[][] transform(double[][] xyz,
int n)
AbstractProjection
transform in interface Projectiontransform in class AbstractProjectionpublic double[] deltaTransform(double[] xyz)
Projection
deltaTransform in interface ProjectiondeltaTransform in class AbstractProjection
public double[] inverseTransform(double[] uvw)
throws UnsupportedOperationException
InverseProjection
inverseTransform in interface InverseProjectionUnsupportedOperationException
public double[] inverseDeltaTransform(double[] uvw)
throws UnsupportedOperationException
InverseProjection
inverseDeltaTransform in interface InverseProjectionUnsupportedOperationExceptionpublic Projection copy()
Projection
copy in interface Projectioncopy in class AbstractProjectionpublic Object reset(Object newStates)
Resetable
reset in interface ResetablenewStates - new state, if null, use initial state of graphics panel.
public void save(org.freehep.xml.io.XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
save in interface org.freehep.xml.io.XMLIOsave in class AbstractProjection
public void restore(org.freehep.xml.io.XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
restore in interface org.freehep.xml.io.XMLIOrestore in class AbstractProjection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||