Package one.empty3.library
Class Camera2Quad
java.lang.Object
one.empty3.library.Representable
one.empty3.library.CameraBox
one.empty3.library.Camera
one.empty3.library.Camera2Quad
- All Implemented Interfaces:
Serializable
,Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StructureMatrix<Polygon>
protected final StructureMatrix<Polygon>
protected ZBuffer
Fields inherited from class one.empty3.library.Camera
eye, imposerMatrice, lookat, matrice, PERSPECTIVE_ISOM, PERSPECTIVE_OEIL, scale, type_perspective, 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, 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
ConstructorsConstructorDescriptionCamera2Quad
(ZBuffer z, Polygon near, Polygon far) near(pa1,nb1,pc1,pd1)- far(pa2,pb2,pc2,pd2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Declares the properties of the Representable class.void
init()
void
tracerQuad
(Point3D pp1, Point3D pp2, Point3D pp3, Point3D pp4, ITexture texture, double u0, double u1, double v0, double v1, ParametricSurface n) Methods inherited from class one.empty3.library.Camera
calculerHorizontaParDefaut, calculerMatrice, calculerPointDansRepere, calculerVerticaleParDefaut, coordonneesPoint2D, coordonneesPointEcranIsometrique, distanceCamera, eye, getEye, getLookat, getMatrice, getMatrix, getScale, getVerticale, imposerMatrice, imposerMatrice, rotateMatrixXaxis, rotateMatrixYaxis, rotateMatrixZaxis, setEye, setLookat, setMatrice, setMatrix, setMatrix, setScale, setVerticale, 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
-
near
-
far
-
z
-
-
Constructor Details
-
Camera2Quad
near(pa1,nb1,pc1,pd1)- far(pa2,pb2,pc2,pd2)- Parameters:
z
-near
- quad 1far
- quad 2
-
-
Method Details
-
init
public void init() -
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 classCamera
-
tracerQuad
-