com.yobotics.simulationconstructionset.util.math.frames
Class YoFrameVectorBuffer

java.lang.Object
  extended by com.yobotics.simulationconstructionset.util.math.frames.YoFrameVectorBuffer

public class YoFrameVectorBuffer
extends java.lang.Object

Author:
jrebula

LittleDogVersion07: us.ihmc.LearningLocomotion.Version07.util.FrameGeometry.YoFramePointBuffer, 7:06:34 PM, Oct 8, 2006

A YoFrameVectorBuffer is a list of YoFrameVectors 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.


Constructor Summary
YoFrameVectorBuffer(java.lang.String prefix, java.lang.String suffix, ReferenceFrame frame, YoVariableRegistry yoVariableRegistry, DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry, int maxNumberOfPoints, AppearanceDefinition appearance)
           
YoFrameVectorBuffer(java.lang.String prefix, java.lang.String suffix, ReferenceFrame frame, YoVariableRegistry yoVariableRegistry, DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry, int maxNumberOfPoints, AppearanceDefinition appearance, boolean drawArrowhead)
           
YoFrameVectorBuffer(java.lang.String prefix, java.lang.String suffix, ReferenceFrame frame, YoVariableRegistry parentYoVariableRegistry, DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry, int maxNumberOfPoints, AppearanceDefinition appearance, boolean drawArrowhead, double lineThicknessRatio)
           
 
Method Summary
 void add(FramePoint framePoint, FrameVector frameVector)
           
 boolean full()
           
 YoFramePoint getPoint(int arg0)
           
 YoFrameVector getVector(int arg0)
           
 void reset()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YoFrameVectorBuffer

public YoFrameVectorBuffer(java.lang.String prefix,
                           java.lang.String suffix,
                           ReferenceFrame frame,
                           YoVariableRegistry yoVariableRegistry,
                           DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
                           int maxNumberOfPoints,
                           AppearanceDefinition appearance)

YoFrameVectorBuffer

public YoFrameVectorBuffer(java.lang.String prefix,
                           java.lang.String suffix,
                           ReferenceFrame frame,
                           YoVariableRegistry yoVariableRegistry,
                           DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
                           int maxNumberOfPoints,
                           AppearanceDefinition appearance,
                           boolean drawArrowhead)

YoFrameVectorBuffer

public YoFrameVectorBuffer(java.lang.String prefix,
                           java.lang.String suffix,
                           ReferenceFrame frame,
                           YoVariableRegistry parentYoVariableRegistry,
                           DynamicGraphicObjectsListRegistry dynamicGraphicObjectsListRegistry,
                           int maxNumberOfPoints,
                           AppearanceDefinition appearance,
                           boolean drawArrowhead,
                           double lineThicknessRatio)
Method Detail

size

public int size()

reset

public void reset()

getPoint

public YoFramePoint getPoint(int arg0)

getVector

public YoFrameVector getVector(int arg0)

add

public void add(FramePoint framePoint,
                FrameVector frameVector)

full

public boolean full()