gestalt.candidates
Class JoglPointCloud
java.lang.Object
gestalt.shape.AbstractShape
gestalt.candidates.JoglPointCloud
- All Implemented Interfaces:
- Drawable, java.io.Serializable
public class JoglPointCloud
- extends AbstractShape
- See Also:
- Serialized Form
| 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 |
JoglPointCloud
public JoglPointCloud()
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