|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Projection
Transforms coordinates in one system (X, Y, Z) into coordinates of another system (X', Y', Z'). Projections can be cascaded (sequenced).
| Field Summary |
|---|
| Fields inherited from interface hep.wired.util.XYZindices |
|---|
X, Y, Z |
| Fields inherited from interface hep.wired.util.UVWindices |
|---|
U, V, W |
| Method Summary | |
|---|---|
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)
Return Feature if implemented, otherwise null. |
String |
getFormula()
Returns the formula in text readable form |
String |
getName()
Returns the name of the projection. |
ViewPort |
getViewPort()
Returns the associated viewport. |
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)
Returns an array of length 3*n: uvw[][n] = projection(xyz[][n]). |
double[] |
transform(ViewPort viewPort,
double[] xyz)
Returns an array of length 3: uvw = viewPort(projection(xyz)). |
double[][] |
transform(ViewPort viewPort,
double[][] xyz,
int n)
Returns an array of length 3*n: uvw[][n] = viewPort(projection(xyz[][n])). |
| Methods inherited from interface hep.wired.util.WiredRegistry.ID |
|---|
getID |
| Methods inherited from interface org.freehep.xml.io.XMLIO |
|---|
restore, save |
| Method Detail |
|---|
String getName()
String getFormula()
boolean supports(Class featureClass)
Feature getFeature(Class featureClass)
void setViewPort(ViewPort viewPort)
ViewPort getViewPort()
double[] transform(ViewPort viewPort,
double[] xyz)
double[] transform(double[] xyz)
double[][] transform(ViewPort viewPort,
double[][] xyz,
int n)
double[][] transform(double[][] xyz,
int n)
double[] deltaTransform(double[] xyz)
Projection copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||