gestalt.candidates
Class JoglPointSpriteCloud

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

public class JoglPointSpriteCloud
extends AbstractShape

See Also:
Serialized Form

Field Summary
 float ATTENUATION_CONSTANT
           
 float ATTENUATION_LINEAR
           
 float ATTENUATION_QUAD
           
 float MAX_POINT_SIZE
           
 float MIN_POINT_SIZE
           
 float POINT_SIZE
           
 
Constructor Summary
JoglPointSpriteCloud()
           
 
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 loadBitmap(Bitmap theBitmap)
           
 void remove(int i)
           
 void setColorsRef(java.util.Vector<Color> theColorsRef)
           
 void updateProperties()
           
 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
 

Field Detail

ATTENUATION_CONSTANT

public float ATTENUATION_CONSTANT

ATTENUATION_LINEAR

public float ATTENUATION_LINEAR

ATTENUATION_QUAD

public float ATTENUATION_QUAD

POINT_SIZE

public float POINT_SIZE

MIN_POINT_SIZE

public float MIN_POINT_SIZE

MAX_POINT_SIZE

public float MAX_POINT_SIZE
Constructor Detail

JoglPointSpriteCloud

public JoglPointSpriteCloud()
Method Detail

loadBitmap

public void loadBitmap(Bitmap theBitmap)

updateProperties

public void updateProperties()

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