com.yobotics.simulationconstructionset.util.math.frames
Class YoFramePointBuffer
java.lang.Object
com.yobotics.simulationconstructionset.util.math.frames.YoFramePointBuffer
public class YoFramePointBuffer
- extends java.lang.Object
- Author:
- johnr379
LittleDogVersion07:
us.ihmc.LearningLocomotion.Version07.util.FrameGeometry.YoFramePointBuffer,
7:06:34 PM, Oct 8, 2006
A YoFramePointBuffer is a list of YoFramePoints with a maximum size.
The underlying points are created in the given registry at
construction time, so no points are ever actually removed or added to
the list.
Field Summary |
static boolean |
VERBOSE
|
Constructor Summary |
YoFramePointBuffer(int maxNumberOfPoints,
java.lang.String prefix,
java.lang.String suffix,
ReferenceFrame frame,
YoVariableRegistry parentYoVariableRegistry)
|
YoFramePointBuffer(int maxNumberOfPoints,
java.lang.String prefix,
java.lang.String suffix,
ReferenceFrame frame,
YoVariableRegistry parentYoVariableRegistry,
DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
double drawScale,
AppearanceDefinition appearance)
|
Method Summary |
void |
add(FramePoint framePoint)
|
void |
add(FramePoint framePoint,
AppearanceDefinition appearance)
|
boolean |
full()
|
YoFramePoint |
get(int arg0)
|
void |
getDynamicGraphicObjects(java.util.ArrayList<DynamicGraphicObject> dynamicGraphicObjects,
double drawScale,
AppearanceDefinition appearance)
|
static YoFramePointBuffer |
loadFromReader(java.lang.String prefix,
java.lang.String suffix,
ReferenceFrame frame,
YoVariableRegistry parentYoVariableRegistry,
DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
double drawScale,
AppearanceDefinition appearance,
java.io.BufferedReader streamWithPoints)
|
void |
reset()
|
int |
size()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERBOSE
public static boolean VERBOSE
YoFramePointBuffer
public YoFramePointBuffer(int maxNumberOfPoints,
java.lang.String prefix,
java.lang.String suffix,
ReferenceFrame frame,
YoVariableRegistry parentYoVariableRegistry)
YoFramePointBuffer
public YoFramePointBuffer(int maxNumberOfPoints,
java.lang.String prefix,
java.lang.String suffix,
ReferenceFrame frame,
YoVariableRegistry parentYoVariableRegistry,
DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
double drawScale,
AppearanceDefinition appearance)
loadFromReader
public static YoFramePointBuffer loadFromReader(java.lang.String prefix,
java.lang.String suffix,
ReferenceFrame frame,
YoVariableRegistry parentYoVariableRegistry,
DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
double drawScale,
AppearanceDefinition appearance,
java.io.BufferedReader streamWithPoints)
throws java.io.IOException
- Throws:
java.io.IOException
size
public int size()
reset
public void reset()
get
public YoFramePoint get(int arg0)
add
public void add(FramePoint framePoint,
AppearanceDefinition appearance)
add
public void add(FramePoint framePoint)
getDynamicGraphicObjects
public void getDynamicGraphicObjects(java.util.ArrayList<DynamicGraphicObject> dynamicGraphicObjects,
double drawScale,
AppearanceDefinition appearance)
full
public boolean full()