Package one.empty3.library
Class CameraBox
java.lang.Object
one.empty3.library.Representable
one.empty3.library.CameraBox
- All Implemented Interfaces:
Serializable
,Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
- Direct Known Subclasses:
Camera
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StructureMatrix
<Double> protected StructureMatrix
<Double> static final int
static final int
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 TypeMethodDescriptionvoid
angleXr
(double angleX, double ratioXY) void
angleXY
(double angleX, double angleY) void
Declares the properties of the Representable class.void
void
void
ratioHorizontalAngle
(int dimx, int dimy) void
void
void
setAngleYr
(double angleY, double ratioXY) int
type()
void
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, ISdrawStructureDrawFastIMPLEMENTED, paint, refPoint, replace, rotate, setAxes, setCFAST, setDisplayType, setOrig, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, setVectX, setVectY, setVectZ, supporteTexture, T, texture, texture, toString, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
Field Details
-
PERSPECTIVE_ISOMETRIQUE
public static final int PERSPECTIVE_ISOMETRIQUE- See Also:
-
PERSPECTIVE_POINTDEFUITE
public static final int PERSPECTIVE_POINTDEFUITE- See Also:
-
angleX
-
angleY
-
-
Constructor Details
-
CameraBox
public CameraBox()
-
-
Method Details
-
getAngleX
-
setAngleX
-
angleXr
public void angleXr(double angleX, double ratioXY) -
angleXY
public void angleXY(double angleX, double angleY) -
getAngleY
-
setAngleY
-
setAngleYr
public void setAngleYr(double angleY, double ratioXY) -
perspectiveIsometrique
public void perspectiveIsometrique() -
perspectivePointDeFuite
public void perspectivePointDeFuite() -
type
public int type() -
viserObjet
-
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 classRepresentable
-
ratioHorizontalAngle
public void ratioHorizontalAngle(int dimx, int dimy)
-