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 intstatic final intprotected StructureMatrix<Double>protected intprotected final StructureMatrix<Point3D>Fields inherited from class one.empty3.library.CameraBox
angleX, angleY, PERSPECTIVE_ISOMETRIQUE, PERSPECTIVE_POINTDEFUITEFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Point3DcalculerHorizontaParDefaut(Point3D senseAxeCamera) voidcalculerMatrice(Point3D vertical) protected Point3DcalculerVerticaleParDefaut(Point3D senseAxeCamera) coordonneesPoint2D(Point3D p, ZBuffer impl) coordonneesPointEcranIsometrique(Point3D p, ZBufferImpl.Box2D box, int la, int ha) voiddoubledistanceCamera(Point3D x3d) eye()getEye()getScale()voidimposerMatrice(boolean im) voidimposerMatrice(Matrix33 mat) protected voidrotateMatrixXaxis(double angle) protected voidrotateMatrixYaxis(double angle) protected voidrotateMatrixZaxis(double angle) voidvoidvoidsetMatrice(Matrix33 matrice) voidvoidvoidsetScale(StructureMatrix<Double> scale) protected voidsetVerticale(Point3D vert2) toString()Methods inherited from class one.empty3.library.CameraBox
angleXr, angleXY, getAngleX, getAngleY, perspectiveIsometrique, perspectivePointDeFuite, setAngleX, setAngleY, setAngleYr, type, viserObjetMethods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, copy, declarations, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, id, id, informer, intersects, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, replace, rotate, setCFAST, setDisplayType, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, 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
-
calculerPointDansRepere
-
eye
-
getEye
-
setEye
-
getLookat
-
setLookat
-
imposerMatrice
public void imposerMatrice(boolean im) -
imposerMatrice
-
toString
- Overrides:
toStringin classRepresentable
-
getMatrice
-
getMatrix
-
setMatrice
-
declareProperties
public void declareProperties()- Specified by:
declarePropertiesin interfaceMatrixPropertiesObject- Overrides:
declarePropertiesin classCameraBox
-
coordonneesPointEcranIsometrique
-
coordonneesPoint2D
-
distanceCamera
-
getScale
-
setScale
-
setVerticale
-