Package one.empty3.library
Class Representable
java.lang.Object
one.empty3.library.Representable
- All Implemented Interfaces:
Serializable,Comparable,TemporalComputedObject3D,MatrixPropertiesObject,XmlRepresentable
- Direct Known Subclasses:
Animation,Animation,AttracteurEtrange,Axe,BezierCubique,BezierCubique2D,Board,BSpline2D,Bullet,CameraBox,CollineModele1,CollineModele2,CollineModele3,ColorMatrix,Cube,HeadRepresentable,ImageContainer,Infini,LSystemArmature,Lumiere,Mandala,Matrix,Matrix33,ParametricCurve,ParametricSurface,ParametricVolume,PCont,PGeneratorZ,PObjet,Point3D,PointWire,Polygon,Polyhedron,PolyMapPoint3D2DArray,Position,RepresentableConteneur,Scene,SimpleSphere,Spirale,StructureDragon,Tetraedre,Tour,Tourbillon,TourDeRevolution,TRI,TRIObject,TRIObjetGenerateurAbstract,Tubulaire,TubulaireN,Vis,ZBufferImpl,ZBufferImplRasterVersion
public class Representable
extends Object
implements Serializable, Comparable, XmlRepresentable, MatrixPropertiesObject, TemporalComputedObject3D
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ITexturestatic final ITextureprotected static HashMap<String,StructureMatrix> static final intprotected RtMatiereprotected doubleprotected Representablestatic intstatic intstatic final intprotected Renderstatic Point3Dprotected Scenestatic final intstatic final intstatic final intstatic final intstatic final intprotected StructureMatrix<T>protected ITexture -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculerCurveT(double u, double t) calculerPointT(double t) calculerSurfaceT(double u, double v, double t) intcopy()voidvoiddraw(ZBufferImpl zBuffer) voidgetCFAST()getDeclaredProperty(String name) intstatic String[]Evaluates property of current object or of a subpropertygetProperty(String propertyName) getPropertyType(String propertyName) id()voidvoidinformer(Representable parent) intersects(RtRay ray, RtIntersectInfo cii) booleanvoidpaint()voidrotate(Point3D p0, Representable ref) voidvoidsetDisplayType(int displayType) voidsetPainter(Painter painter) voidsetPaintingAct(ZBuffer z, Scene s, PaintingAct pa) static voidsetPaintingActForClass(ZBuffer z, Scene s, PaintingAct pa) voidsetPosition(Point3D calcCposition) voidsetProperty(String propertyName, Object value) voidsetRotation(StructureMatrix<Rotation> rotation) voidsetTexture(ITexture texture) booleandoubletexture()voidtoString()voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, File o) voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, Boolean o) voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, Double o) voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, Integer o) voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, Object o) voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, String o) voidxmlRepresentation(String filesPath, StringBuilder stringBuilder, Representable is) voidxmlRepresentation(String filesPath, String name, StringBuilder stringBuilder, StructureMatrix is) voidxmlRepresentation(String filesPath, MatrixPropertiesObject parent, StringBuilder stringBuilder) voidxmlRepresentation(String filesPath, MatrixPropertiesObject parent, StringBuilder stringBuilder, ArrayList o)
-
Field Details
-
DISPLAY_ALL
public static final int DISPLAY_ALL- See Also:
-
SURFACE_DISPLAY_TEXT_QUADS
public static final int SURFACE_DISPLAY_TEXT_QUADS- See Also:
-
SURFACE_DISPLAY_COL_QUADS
public static final int SURFACE_DISPLAY_COL_QUADS- See Also:
-
SURFACE_DISPLAY_COL_TRI
public static final int SURFACE_DISPLAY_COL_TRI- See Also:
-
SURFACE_DISPLAY_LINES
public static final int SURFACE_DISPLAY_LINES- See Also:
-
SURFACE_DISPLAY_POINTS
public static final int SURFACE_DISPLAY_POINTS- See Also:
-
DEFAULT_TEXTURE
-
SCALE1
-
classPainters
-
defaultHashMapData
-
PATH_ELEM_STRUCTURE_MATRIX
public static final int PATH_ELEM_STRUCTURE_MATRIX- See Also:
-
PATH_ELEM_DOUBLE_VALUES
public static int PATH_ELEM_DOUBLE_VALUES -
PATH_ELEM_REPRESENTABLE
public static int PATH_ELEM_REPRESENTABLE -
rotation
-
NFAST
protected double NFAST -
materiau
-
CFAST
-
parent
-
scene
-
texture
-
render
-
T
-
-
Constructor Details
-
Representable
public Representable()
-
-
Method Details
-
setPaintingActForClass
-
getDisplayTypes
-
getRotation
-
setRotation
-
rotate
-
id
-
id
-
informer
-
replace
-
supporteTexture
public boolean supporteTexture() -
texture
-
texture
-
drawStructureDrawFast
-
ISdrawStructureDrawFastIMPLEMENTED
-
setPaintingAct
-
getPainter
-
setPainter
-
paint
public void paint() -
intersects
-
intersects
-
become
-
compareTo
- Specified by:
compareToin interfaceComparable
-
draw
-
getDeclaredProperty
- Specified by:
getDeclaredPropertyin interfaceMatrixPropertiesObject
-
getDeclaredDataStructure
-
getDeclaredLists
-
getTexture
-
setTexture
-
getPropertyType
- Throws:
NoSuchMethodException
-
setProperty
public void setProperty(String propertyName, Object value) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException -
getProperty
public Object getProperty(String propertyName) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException -
toString
-
declareProperties
public void declareProperties()- Specified by:
declarePropertiesin interfaceMatrixPropertiesObject
-
declarations
- Specified by:
declarationsin interfaceMatrixPropertiesObject
-
getCFAST
-
setCFAST
-
xmlRepresentation
-
xmlRepresentation
-
xmlRepresentation
-
xmlRepresentation
-
xmlRepresentation
-
xmlRepresentation
public void xmlRepresentation(String filesPath, MatrixPropertiesObject parent, StringBuilder stringBuilder, ArrayList o) -
xmlRepresentation
-
xmlRepresentation
-
xmlRepresentation
public void xmlRepresentation(String filesPath, MatrixPropertiesObject parent, StringBuilder stringBuilder) -
xmlRepresentation
public void xmlRepresentation(String filesPath, String name, StringBuilder stringBuilder, StructureMatrix is) -
copy
public MatrixPropertiesObject copy() throws CopyRepresentableError, IllegalAccessException, InstantiationException- Specified by:
copyin interfaceMatrixPropertiesObject- Throws:
CopyRepresentableErrorIllegalAccessExceptionInstantiationException
-
getDisplayType
public int getDisplayType() -
setDisplayType
public void setDisplayType(int displayType) -
T
- Specified by:
Tin interfaceTemporalComputedObject3D
-
calculerPointT
- Specified by:
calculerPointTin interfaceTemporalComputedObject3D
-
calculerCurveT
- Specified by:
calculerCurveTin interfaceTemporalComputedObject3D
-
calculerSurfaceT
- Specified by:
calculerSurfaceTin interfaceTemporalComputedObject3D
-
setPosition
-
getPath
Evaluates property of current object or of a subproperty- Parameters:
property- propertyName:arrayIndex1:arrayIndex2,subpropertyName:i2:j2,subpro...- Returns:
- atomic property
-