anar

Class RenderPtShapeOriented

java.lang.Object
  extended by anar.RenderP5
      extended by anar.RenderPt
          extended by anar.RenderPtShape
              extended by anar.RenderPtShapeOriented
All Implemented Interfaces:
Render
Direct Known Subclasses:
RenderPtEllipseOriented

public class RenderPtShapeOriented
extends RenderPtShape

Render a Pt as a shape (default is an optimized circle). The orientation is calculated to face the camera. The shape could be redefined.

See Also:
RenderPtShape

Field Summary
 
Fields inherited from class anar.RenderPtShape
defaultShape, shape
 
Fields inherited from class anar.RenderP5
p5
 
Constructor Summary
RenderPtShapeOriented(AColor c1, AColor c2, Scene s)
           
RenderPtShapeOriented(Face shape, AColor c1, AColor c2, Scene s)
           
RenderPtShapeOriented(Face shape, Scene s)
           
RenderPtShapeOriented(Scene s)
           
 
Method Summary
 void draw(Pt q)
           
 
Methods inherited from class anar.RenderPtShape
fill, getAccuracy, getShape, setAccuracy, setShape, setSz, stroke
 
Methods inherited from class anar.RenderPt
draw
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderPtShapeOriented

public RenderPtShapeOriented(Scene s)

RenderPtShapeOriented

public RenderPtShapeOriented(AColor c1,
                             AColor c2,
                             Scene s)

RenderPtShapeOriented

public RenderPtShapeOriented(Face shape,
                             Scene s)

RenderPtShapeOriented

public RenderPtShapeOriented(Face shape,
                             AColor c1,
                             AColor c2,
                             Scene s)
Method Detail

draw

public void draw(Pt q)
Overrides:
draw in class RenderPtShape