Package one.empty3.apps.morph
Class ShapeMorph
java.lang.Object
one.empty3.library.Representable
one.empty3.library.core.nurbs.ParametricSurface
one.empty3.apps.morph.ShapeMorph
- All Implemented Interfaces:
Serializable,Comparable,TemporalComputedObject3D,MatrixPropertiesObject,XmlRepresentable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class one.empty3.library.core.nurbs.ParametricSurface
ParametricSurface.Globals, ParametricSurface.Parameters -
Field Summary
Fields 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 -
Method Summary
Modifier and TypeMethodDescriptioncalculerPoint3D(double u, double v) intcolorMean(int color1, int color2) copy()doubledistance(double x0, double y0, double a, double b, double c) Droite ax+by+c=0 et point p0getGrid1()getGrid2()intintdoublegetT()getText1()getText2()voidsetGrid1(StructureMatrix<Point3D> grid1) voidsetGrid2(StructureMatrix<Point3D> grid2) voidsetGridSizeX(int gridSizeX) voidsetGridSizeY(int gridSizeY) voidsetT(double t) voidvoidtexture()Methods inherited from class one.empty3.library.core.nurbs.ParametricSurface
calculerNormale3D, calculerNormalePerp, calculerSurfaceT, calculerTangenteU, calculerTangenteV, calculerVitesse3D, declareProperties, getElementSurface, getEndU, getEndV, getIncrU, getIncrV, getNormale3D, getStartU, getStartV, incr1, incr2, setEndU, setEndV, setIncrU, setIncrV, setStartU, setStartV, toString, velocityMethods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, compareTo, 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, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
Method Details
-
getText1
-
setText1
-
getText2
-
setText2
-
getGrid1
-
setGrid1
-
getGrid2
-
setGrid2
-
getGridSizeX
public int getGridSizeX() -
setGridSizeX
public void setGridSizeX(int gridSizeX) -
getGridSizeY
public int getGridSizeY() -
setGridSizeY
public void setGridSizeY(int gridSizeY) -
getT
public double getT() -
setT
public void setT(double t) -
distance
public double distance(double x0, double y0, double a, double b, double c) Droite ax+by+c=0 et point p0- Returns:
- distance
-
copy
public MatrixPropertiesObject copy() throws CopyRepresentableError, IllegalAccessException, InstantiationException- Specified by:
copyin interfaceMatrixPropertiesObject- Overrides:
copyin classRepresentable- Throws:
CopyRepresentableErrorIllegalAccessExceptionInstantiationException
-
colorMean
public int colorMean(int color1, int color2) -
calculerPoint3D
- Specified by:
calculerPoint3Din classParametricSurface- Parameters:
u- ordonnée du point intersection texturév- coordonnée du point intersection texturé- Returns:
- u, v : coordonnées de texurée dans la case
-
texture
- Overrides:
texturein classRepresentable
-