Package one.empty3.library
Class Camera
- java.lang.Object
-
- one.empty3.library.Representable
-
- one.empty3.library.CameraBox
-
- one.empty3.library.Camera
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
- Direct Known Subclasses:
Camera2Quad
,Camera3D
,CameraInPath
public class Camera extends CameraBox
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StructureMatrix<Point3D>
eye
protected StructureMatrix<java.lang.Boolean>
imposerMatrice
protected StructureMatrix<Point3D>
lookat
protected StructureMatrix<Matrix33>
matrice
static int
PERSPECTIVE_ISOM
static int
PERSPECTIVE_OEIL
protected StructureMatrix<java.lang.Double>
scale
protected int
type_perspective
protected StructureMatrix<Point3D>
verticale
-
Fields inherited from class one.empty3.library.CameraBox
angleX, angleY, PERSPECTIVE_ISOMETRIQUE, PERSPECTIVE_POINTDEFUITE
-
Fields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, DISPLAY_ALL, materiau, NFAST, parent, PATH_ELEM_DOUBLE_VALUES, PATH_ELEM_REPRESENTABLE, PATH_ELEM_STRUCTURE_MATRIX, render, rotation, SCALE1, scene, SURFACE_DISPLAY_COL_QUADS, SURFACE_DISPLAY_COL_TRI, SURFACE_DISPLAY_LINES, SURFACE_DISPLAY_POINTS, SURFACE_DISPLAY_TEXT_QUADS, T, texture, vectors
-
-
Method Summary
-
Methods inherited from class one.empty3.library.CameraBox
angleXr, angleXY, getAngleX, getAngleY, perspectiveIsometrique, perspectivePointDeFuite, ratioHorizontalAngle, setAngleX, setAngleY, setAngleYr, type, viserObjet
-
Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, computeCubic, computeSpherical, copy, declarations, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getOrientedPoint, getOrig, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, getVectX, getVectY, getVectZ, id, id, informer, intersects, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, refPoint, replace, rotate, setAxes, setCFAST, setDisplayType, setOrig, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, setVectX, setVectY, setVectZ, supporteTexture, T, texture, texture, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
-
-
-
Field Detail
-
PERSPECTIVE_ISOM
public static final int PERSPECTIVE_ISOM
- See Also:
- Constant Field Values
-
PERSPECTIVE_OEIL
public static final int PERSPECTIVE_OEIL
- See Also:
- Constant Field Values
-
type_perspective
protected int type_perspective
-
eye
protected StructureMatrix<Point3D> eye
-
lookat
protected StructureMatrix<Point3D> lookat
-
scale
protected StructureMatrix<java.lang.Double> scale
-
imposerMatrice
protected StructureMatrix<java.lang.Boolean> imposerMatrice
-
matrice
protected StructureMatrix<Matrix33> matrice
-
verticale
protected final StructureMatrix<Point3D> verticale
-
-
Method Detail
-
getVerticale
public Point3D getVerticale()
-
rotateMatrixXaxis
protected void rotateMatrixXaxis(double angle)
-
rotateMatrixYaxis
protected void rotateMatrixYaxis(double angle)
-
rotateMatrixZaxis
protected void rotateMatrixZaxis(double angle)
-
setMatrix
public void setMatrix(Matrix33 m)
-
calculerMatrice
@Deprecated public void calculerMatrice(Point3D vertical)
Deprecated.
-
eye
public Point3D eye()
-
getEye
public Point3D getEye()
-
setEye
public void setEye(Point3D eye)
-
getLookat
public Point3D getLookat()
-
setLookat
public void setLookat(Point3D lookat)
-
imposerMatrice
public void imposerMatrice(boolean im)
-
imposerMatrice
public void imposerMatrice(Matrix33 mat)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRepresentable
-
getMatrice
public Matrix33 getMatrice()
-
getMatrix
public Matrix33 getMatrix()
-
setMatrice
public void setMatrice(Matrix33 matrice)
-
declareProperties
public void declareProperties()
- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
- Overrides:
declareProperties
in classCameraBox
-
coordonneesPointEcranIsometrique
public java.awt.Point coordonneesPointEcranIsometrique(Point3D p, ZBufferImpl.Box2D box, int la, int ha)
-
distanceCamera
public double distanceCamera(Point3D x3d)
-
getScale
public StructureMatrix<java.lang.Double> getScale()
-
setScale
public void setScale(StructureMatrix<java.lang.Double> scale)
-
setVerticale
protected void setVerticale(Point3D vert2)
-
-