|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.stellarium.projector.DefaultProjector org.stellarium.projector.CustomProjector org.stellarium.projector.FisheyeProjector
public class FisheyeProjector
"Fish eye" projector.
See C++ version of this file.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.stellarium.projector.DefaultProjector |
---|
DefaultProjector.AutoZoom, DefaultProjector.ProjectEarthEqu, DefaultProjector.ProjectJ2000, DefaultProjector.ProjectLocal, DefaultProjector.PROJECTOR_MASK_TYPE |
Nested classes/interfaces inherited from interface org.stellarium.projector.Projector |
---|
Projector.ProjFunc, Projector.TYPE
|
Field Summary | |
---|---|
(package private) static double
|
length
|
Fields inherited from class org.stellarium.projector.DefaultProjector |
---|
center, flagAutoZoom, flip_horz, flip_vert, fov, gravityLabels, invMatEarthEquToEye, invMatHelioToEye, invMatJ2000ToEye, invMatLocalToEye, maskType, matEarthEquToEye, matHelioToEye, matJ2000ToEye, matLocalToEye, matProjection, maxFov, minFov, projectEarthEquFunc, projectJ2000Func, projectLocalFunc, vecViewport, view_scaling_factor, zFar, zNear, zoomMove |
Constructor Summary | |
---|---|
FisheyeProjector(Rectangle4i viewport)
|
|
FisheyeProjector(Rectangle4i viewport,
double _fov)
|
Method Summary | |
---|---|
Projector.TYPE
|
getType()
|
boolean |
projectCustom(javax.vecmath.Tuple3d v,
javax.vecmath.Tuple3d win, javax.vecmath.Matrix4d mat)
|
(package private) void |
unproject(double x,
double y, javax.vecmath.Matrix4d m, javax.vecmath.Point3d p)
transformation from screen 2D point x,y to object. |
Methods inherited from class org.stellarium.projector.CustomProjector |
---|
initProjectMatrix,
sCylinder,
sSphere,
sVertex3
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static double length
Constructor Detail |
---|
public FisheyeProjector(Rectangle4i viewport)
public FisheyeProjector(Rectangle4i viewport, double _fov)
Method Detail |
---|
public Projector.TYPE getType()
getType
in interface
Projector
getType
in class
DefaultProjector
public boolean projectCustom(javax.vecmath.Tuple3d v, javax.vecmath.Tuple3d win, javax.vecmath.Matrix4d mat)
projectCustom
in class DefaultProjector
void unproject(double x, double y, javax.vecmath.Matrix4d m, javax.vecmath.Point3d p)
DefaultProjector
unproject
in class DefaultProjector
x
- The 2D point absciss
y
- The 2D point ordonnee
m
- The already inverted full tranfo matrix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |