Package one.empty3.library.objloader
Class E3Model
java.lang.Object
one.empty3.library.Representable
one.empty3.library.RepresentableConteneur
one.empty3.library.objloader.E3Model
- All Implemented Interfaces:
Serializable
,Comparable
,TemporalComputedObject3D
,IMovable
,IScalable
,MatrixPropertiesObject
,XmlRepresentable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
a = (x1, y1, z1, u1, v1)+u*((x2, y2, z2, u2, v2)- (x1, y1, z1, u1, v1)) b = (x4, y4, z4, u4, v4)+u*((x3, y3, z3, u3, v3)- (x4, y4, z4, u4, v4)) (x, y, z, u, v) = a+v*(b- a) x=(x1+u*(x2-x1))+v*(u*(x3-x1)-u*(x2-x1)) y=(y1+u*(y2-y1))+v*(u*(y3-y1)-u*(y2-y1)) z=(z1+u*(z2-z1))+v*(u*(z3-z1)-u*(z2-z1)) u=(u1+u*(u2-u1))+v*(u*(u3-u1)-u*(u2-u1)) v=(v1+u*(v2-v1))+v*(u*(v3-v1)-u*(v2-v1)) Développer x, y, z, u, v x = x1+u*(x2-x1+v*x3-v*x1-v*x2+v*x1) y = y1+u*(y2-y1+v*y3-v*y1-v*y2+v*y1) z = z1+u*(z2-z1+v*z3-v*z1-v*z2+v*z1) u = u1+u*(u2-u1+v*u3-v*u1-v*u2+v*u1) v = v1+u*(v2-v1+v*v3-v*v1-v*v2+v*v1) (4) (u-u1)/u = (u2-u1+v*u3-v*u1-v*u2+v*u1) (5) (v-v1)/u = (v2-v1+v*v3-v*v1-v*v2+v*v1) (5) (u-u1)/(v-v1) = v*(u2-u1+u3-u1-u2+u1)/(v2-v1+v3-v1-v*v2+v1) (4) (u-u1) = u*(u2-u1+v*u3-v*u1-v*u2+v*u1) (5) (u-u1)/(v-v1) = v*(u2-u1+u3-u1-u2+u1)/(v2-v1+v3-v1-v*v2+v1) u*(u2-u1+v*u3-v*u1-v*u2+v*u1)/(v-v1) = v*(u2-u1+u3-u1-u2+u1)/(v2-v1+v3-v1-v*v2+v1) (6) u = (u2-u1+u3-u1-u2+u1)/(v2-v1+v3-v1-v*v2+v1)/(u2-u1+v*u3-v*u1-v*u2+v*u1)*(v-v1)*v -
Field Summary
FieldsModifier and TypeFieldDescriptionFields 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 TypeMethodDescriptionfindUvFace
(double u, double v) findUvForPoint3D
(Point3D pos) Point3D[]
Point3D[][]
void
int
void
void
Methods inherited from class one.empty3.library.RepresentableConteneur
add, clear, declareProperties, getListRepresentable, getRe, iterator, moveAdd, moveTo, remove, scale, scale, setRe, toString
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, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
Field Details
-
toppoint
-
bottompoint
-
leftpoint
-
rightpoint
-
farpoint
-
nearpoint
-
-
Constructor Details
-
E3Model
-
-
Method Details
-
getObjects
-
getBounds
-
getXWidth
-
getYHeight
-
getZDepth
-
numpolygons
public int numpolygons() -
opene3drawtolist
public void opene3drawtolist() -
getArray2
-
getArray1
-
texture
- Overrides:
texture
in classRepresentable
-
findUvFace
-
findUvForPoint3D
- Parameters:
pos
- Point de l'espace- Returns:
- coordonnées (u,v) du point dy modèle le plus proche de point
-