Class AbstractCoordinateShape
java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
- Direct Known Subclasses:
CanvasCharacter
,ForwardOrientedTexture
,Line
,SolidPolygon
,TexturedPolygon
-
Field Summary
Fields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
mouseInteractionController
-
Constructor Summary
ConstructorDescriptionAbstractCoordinateShape
(int pointsCount) AbstractCoordinateShape
(Vertex... vertexes) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getZ()
abstract void
paint
(RenderingContext renderBuffer) void
transform
(TransformsStack transforms, RenderAggregator aggregator, RenderingContext renderingContext) Methods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
setMouseInteractionController
-
Field Details
-
shapeId
public final int shapeId -
coordinates
-
onScreenZ
public double onScreenZ
-
-
Constructor Details
-
AbstractCoordinateShape
public AbstractCoordinateShape(int pointsCount) -
AbstractCoordinateShape
-
-
Method Details
-
getZ
public double getZ() -
paint
-
transform
public void transform(TransformsStack transforms, RenderAggregator aggregator, RenderingContext renderingContext) - Specified by:
transform
in classAbstractShape
-