Package one.empty3.library.core.script
Class InterpreteFacade
- java.lang.Object
-
- one.empty3.library.core.script.InterpreteFacade
-
public class InterpreteFacade extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description int
ALPHA_WORD
int
BEZIER
int
BLANK
int
BSPLINE
int
COLOR
int
DOUBLE
int
FILETYPE_MODEL_TO
int
INTEGER
int
LEFTPARENTHESIS
int
LEFTSKETCH
int
LIST_TRIANGLES
int
POINT3D
int
RIGHTPARENTHESIS
int
RIGHTSKETCH
int
TRIANGLE
-
Constructor Summary
Constructors Constructor Description InterpreteFacade(java.lang.String text, int pos)
-
Method Summary
-
-
-
Field Detail
-
FILETYPE_MODEL_TO
public final int FILETYPE_MODEL_TO
- See Also:
- Constant Field Values
-
BLANK
public final int BLANK
- See Also:
- Constant Field Values
-
LEFTPARENTHESIS
public final int LEFTPARENTHESIS
- See Also:
- Constant Field Values
-
RIGHTPARENTHESIS
public final int RIGHTPARENTHESIS
- See Also:
- Constant Field Values
-
LEFTSKETCH
public final int LEFTSKETCH
- See Also:
- Constant Field Values
-
RIGHTSKETCH
public final int RIGHTSKETCH
- See Also:
- Constant Field Values
-
ALPHA_WORD
public final int ALPHA_WORD
- See Also:
- Constant Field Values
-
POINT3D
public final int POINT3D
- See Also:
- Constant Field Values
-
COLOR
public final int COLOR
- See Also:
- Constant Field Values
-
INTEGER
public final int INTEGER
- See Also:
- Constant Field Values
-
DOUBLE
public final int DOUBLE
- See Also:
- Constant Field Values
-
TRIANGLE
public final int TRIANGLE
- See Also:
- Constant Field Values
-
LIST_TRIANGLES
public final int LIST_TRIANGLES
- See Also:
- Constant Field Values
-
BSPLINE
public final int BSPLINE
- See Also:
- Constant Field Values
-
BEZIER
public final int BEZIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getParsedObject
public java.lang.Object getParsedObject()
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int pos)
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String text)
-
intepreteAttracteurEtrange
public AttracteurEtrange intepreteAttracteurEtrange() throws InterpreteException
- Throws:
InterpreteException
-
intepreteSegmentDroite
public LineSegment intepreteSegmentDroite() throws InterpreteException
- Throws:
InterpreteException
-
intepreteSimpleSphere
public SimpleSphere intepreteSimpleSphere() throws InterpreteException
- Throws:
InterpreteException
-
intepreteTourbillon
public Tourbillon intepreteTourbillon() throws InterpreteException
- Throws:
InterpreteException
-
intepreteTubulaire
public Tubulaire intepreteTubulaire() throws InterpreteException
- Throws:
InterpreteException
-
interpreteBezier
public BezierCubique interpreteBezier() throws InterpreteException
- Throws:
InterpreteException
-
interpreteBezier2d
public BezierCubique2D interpreteBezier2d() throws InterpreteException
- Throws:
InterpreteException
-
interpreteBlank
public java.lang.String interpreteBlank()
-
interpreteBSpline
public BSpline interpreteBSpline() throws InterpreteException
- Throws:
InterpreteException
-
interpreteCamera
public Camera interpreteCamera() throws InterpreteException
- Throws:
InterpreteException
-
interpreteCameraCollection
public StructureMatrix<Camera> interpreteCameraCollection() throws InterpreteException
- Throws:
InterpreteException
-
interpreteColor
public java.awt.Color interpreteColor() throws InterpreteException
- Throws:
InterpreteException
-
interpreteCube
public Cube interpreteCube() throws InterpreteException
- Throws:
InterpreteException
-
interpreteDouble
public java.lang.Double interpreteDouble() throws InterpreteException
- Throws:
InterpreteException
-
interpreteId
public ID interpreteId() throws InterpreteException
- Throws:
InterpreteException
-
interpreteIdentifier
public java.lang.String interpreteIdentifier() throws InterpreteException
- Throws:
InterpreteException
-
interpreteInteger
public java.lang.Integer interpreteInteger() throws InterpreteException
- Throws:
InterpreteException
-
interpreteLumierePoint
public LumierePointSimple interpreteLumierePoint() throws InterpreteException
- Throws:
InterpreteException
-
interpreteMODHomothetie
public void interpreteMODHomothetie(Representable r)
-
interpreteMODRotation
public void interpreteMODRotation(Representable r)
-
interpreteMODTranslation
public void interpreteMODTranslation(Representable r)
-
interpreteNurbs
public NurbsSurface interpreteNurbs() throws InterpreteException
- Throws:
InterpreteException
-
interpreteParentheseFermante
public void interpreteParentheseFermante() throws InterpreteException
- Throws:
InterpreteException
-
interpreteParentheseOuvrante
public void interpreteParentheseOuvrante() throws InterpreteException
- Throws:
InterpreteException
-
interpretePlan3D
public Plan3D interpretePlan3D() throws InterpreteException
- Throws:
InterpreteException
-
interpretePoint3D
public Point3D interpretePoint3D() throws InterpreteException
- Throws:
InterpreteException
-
interpretePoint3DAvecCouleur
public Point3D interpretePoint3DAvecCouleur() throws InterpreteException
- Throws:
InterpreteException
-
interpretePolygone
public Polygon interpretePolygone() throws InterpreteException
- Throws:
InterpreteException
-
interpretePosition
public Barycentre interpretePosition() throws InterpreteException
- Throws:
InterpreteException
-
interpreteQuads
public Quads interpreteQuads() throws InterpreteException
- Throws:
InterpreteException
-
interpreteSimpleSphereAvecTexture
public SimpleSphereAvecTexture interpreteSimpleSphereAvecTexture() throws InterpreteException
- Throws:
InterpreteException
-
interpreteTColor
public ITexture interpreteTColor()
-
interpreteTetraedre
public Tetraedre interpreteTetraedre() throws InterpreteException
- Throws:
InterpreteException
-
interpreteTriangle
public TRI interpreteTriangle() throws InterpreteException
- Throws:
InterpreteException
-
interpreteTriangles
public TRIObject interpreteTriangles() throws InterpreteException
- Throws:
InterpreteException
-
interpreteTRIEllipsoide
public TRIEllipsoide interpreteTRIEllipsoide() throws InterpreteException
- Throws:
InterpreteException
-
interpreteTRISphere
public TRISphere interpreteTRISphere() throws InterpreteException
- Throws:
InterpreteException
-
interpreteTubulaire
public Tubulaire interpreteTubulaire() throws InterpreteException
- Throws:
InterpreteException
-
isFailed
public boolean isFailed()
-
isOkay
public boolean isOkay()
-
setOkay
public void setOkay(boolean okay)
-
parse
public void parse(int filetype)
-
parseEND
@Deprecated public java.lang.String parseEND()
Deprecated.
-
parseWord
@Deprecated public java.lang.String parseWord() throws InterpreteException
Deprecated.- Throws:
InterpreteException
-
setRepertoire
public void setRepertoire(java.lang.String repertoire)
-
-