Package one.empty3.library
Class Camera
java.lang.Object
one.empty3.library.Representable
one.empty3.library.CameraBox
one.empty3.library.Camera
- All Implemented Interfaces:
Serializable
,Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
- Direct Known Subclasses:
Camera2Quad
,Camera3D
,CameraInPath
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StructureMatrix<Point3D>
protected StructureMatrix<Boolean>
protected StructureMatrix<Point3D>
protected StructureMatrix<Matrix33>
static final int
static final int
protected StructureMatrix<Double>
protected int
protected final StructureMatrix<Point3D>
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, 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Point3D
calculerHorizontaParDefaut
(Point3D senseAxeCamera) void
calculerMatrice
(Point3D vertical) Deprecated.protected Point3D
calculerVerticaleParDefaut
(Point3D senseAxeCamera) coordonneesPoint2D
(Point3D p, ZBuffer impl) coordonneesPointEcranIsometrique
(Point3D p, ZBufferImpl.Box2D box, int la, int ha) void
Declares the properties of the Representable class.double
distanceCamera
(Point3D x3d) eye()
getEye()
getScale()
void
imposerMatrice
(boolean im) void
imposerMatrice
(Matrix33 mat) protected void
rotateMatrixXaxis
(double angle) protected void
rotateMatrixYaxis
(double angle) protected void
rotateMatrixZaxis
(double angle) void
void
void
setMatrice
(Matrix33 matrice) void
void
void
setScale
(StructureMatrix<Double> scale) protected void
setVerticale
(Point3D vert2) toString()
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, getVectors, 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 Details
-
PERSPECTIVE_ISOM
public static final int PERSPECTIVE_ISOM- See Also:
-
PERSPECTIVE_OEIL
public static final int PERSPECTIVE_OEIL- See Also:
-
type_perspective
protected int type_perspective -
eye
-
lookat
-
scale
-
imposerMatrice
-
matrice
-
verticale
-
-
Constructor Details
-
Camera
public Camera(boolean pass) -
Camera
public Camera() -
Camera
-
Camera
-
-
Method Details
-
getVerticale
-
rotateMatrixXaxis
protected void rotateMatrixXaxis(double angle) -
rotateMatrixYaxis
protected void rotateMatrixYaxis(double angle) -
rotateMatrixZaxis
protected void rotateMatrixZaxis(double angle) -
calculerVerticaleParDefaut
-
calculerHorizontaParDefaut
-
setMatrix
-
setMatrix
-
calculerMatrice
Deprecated. -
calculerPointDansRepere
-
eye
-
getEye
-
setEye
-
getLookat
-
setLookat
-
imposerMatrice
public void imposerMatrice(boolean im) -
imposerMatrice
-
toString
- Overrides:
toString
in classRepresentable
-
getMatrice
-
getMatrix
-
setMatrice
-
declareProperties
public void declareProperties()Description copied from class:Representable
Declares the properties of the Representable class. This method clears the declaredDataStructure map and adds specific properties to it based on the object's rotation and type. If the object's rotation is not null and the object is not an instance of Point3D, a "rotation/Rotation" property is added. The "vectors/vectors" property is always added to the map.- Specified by:
declareProperties
in interfaceMatrixPropertiesObject
- Overrides:
declareProperties
in classCameraBox
-
coordonneesPointEcranIsometrique
-
coordonneesPoint2D
-
distanceCamera
-
getScale
-
setScale
-
setVerticale
-