|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.implementation.g2d.motor.Motor3D
public class Motor3D
| Constructor Summary | |
|---|---|
Motor3D(java.awt.Graphics2D g2d,
java.awt.Dimension dim)
Default constructor |
|
| Method Summary | |
|---|---|
void |
clearDepth()
Clear the depth buffer |
void |
draw()
Draw the scene in the Graphics2D |
void |
draw(DrawingTools drawingTools,
Geometry geometry,
Appearance appearance)
Add the geometry to the scene |
void |
draw(DrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
|
void |
draw(DrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle)
|
void |
drawTexture(DrawingTools drawingTools,
java.awt.image.BufferedImage image,
Texture texture)
|
Transformation |
getCurrentSingleTransformation()
|
Transformation |
getCurrentTransformation()
|
void |
reset(java.awt.Color color)
Reset this motor |
void |
setClippingPlanes(java.util.List<ClippingPlane> clippingPlanes)
|
void |
setFaceCullingMode(Geometry.FaceCullingMode mode)
Set the face culling mode |
void |
setTransformation(Transformation transf,
Transformation single)
Set the current transformation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Motor3D(java.awt.Graphics2D g2d,
java.awt.Dimension dim)
g2d - a Graphics2D object where to drawdim - the graphic dimensions| Method Detail |
|---|
public void setClippingPlanes(java.util.List<ClippingPlane> clippingPlanes)
public void setFaceCullingMode(Geometry.FaceCullingMode mode)
mode - the mode to set
public void setTransformation(Transformation transf,
Transformation single)
transf - the transformation to setpublic Transformation getCurrentTransformation()
public Transformation getCurrentSingleTransformation()
public void reset(java.awt.Color color)
color - the filling colorpublic void clearDepth()
public void draw()
public void drawTexture(DrawingTools drawingTools,
java.awt.image.BufferedImage image,
Texture texture)
public void draw(DrawingTools drawingTools,
Geometry geometry,
Appearance appearance)
drawingTools - the DrawingToolsgeometry - the geometry to drawappearance - the appearance to use
public void draw(DrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
public void draw(DrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||