gestalt.candidates
Class JoglPointCloud

java.lang.Object
  extended by gestalt.shape.AbstractShape
      extended by gestalt.candidates.JoglPointCloud
All Implemented Interfaces:
Drawable, java.io.Serializable

public class JoglPointCloud
extends AbstractShape

See Also:
Serialized Form

Constructor Summary
JoglPointCloud()
           
 
Method Summary
 void add(Vector3f thePosition, Color theColor)
           
 java.util.Vector<Color> colors()
           
 void draw(GLContext theRenderContext)
          this method is used to draw the drawable, when the context is ready.
 void remove(int i)
           
 void setColorsRef(java.util.Vector<Color> theColorsRef)
           
 java.util.Vector<Vector3f> vertices()
           
 
Methods inherited from class gestalt.shape.AbstractShape
add, getSortData, getSortValue, getTransformMode, isActive, isSortable, material, position, position, position, position, rotation, rotation, scale, scale, scale, setActive, setChildContainer, setMaterialRef, setPositionRef, setRotationRef, setScaleRef, setSortValue, setTransformMode, setTransformRef, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglPointCloud

public JoglPointCloud()
Method Detail

add

public void add(Vector3f thePosition,
                Color theColor)

remove

public void remove(int i)

vertices

public java.util.Vector<Vector3f> vertices()

colors

public java.util.Vector<Color> colors()

setColorsRef

public void setColorsRef(java.util.Vector<Color> theColorsRef)

draw

public void draw(GLContext theRenderContext)
Description copied from interface: Drawable
this method is used to draw the drawable, when the context is ready. although the behavior sometimes varies and doesn t always need to have a visual representation depending on the implementation.

Parameters:
theRenderContext - GLContext


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009