Public Member Functions | Protected Member Functions | Protected Attributes | Package Attributes
edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence Class Reference
Inheritance diagram for edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addPose (float EPISODE_NR, float TIME, String action, float BECX, float BECY, float BECZ, float ULWX, float ULWY, float ULWZ, float OLWX, float OLWY, float OLWZ, float UBWX, float UBWY, float UBWZ, float OBWX, float OBWY, float OBWZ, float UHWX, float UHWY, float UHWZ, float BRKX, float BRKY, float BRKZ, float OHWX, float OHWY, float OHWZ, float KOX, float KOY, float KOZ, float SEHX, float SEHY, float SEHZ, float OSLX, float OSLY, float OSLZ, float USLX, float USLY, float USLZ, float FULX, float FULY, float FULZ, float FBLX, float FBLY, float FBLZ, float OSRX, float OSRY, float OSRZ, float USRX, float USRY, float USRZ, float FURX, float FURY, float FURZ, float FBRX, float FBRY, float FBRZ, float SBLX, float SBLY, float SBLZ, float OALX, float OALY, float OALZ, float UALX, float UALY, float UALZ, float HALX, float HALY, float HALZ, float FILX, float FILY, float FILZ, float SBRX, float SBRY, float SBRZ, float OARX, float OARY, float OARZ, float UARX, float UARY, float UARZ, float HARX, float HARY, float HARZ, float FIRX, float FIRY, float FIRZ)
void addPose (float episode_nr, float time, String action, float[] coords)
void draw (Canvas c, int step)
void drawBodyPartTrajectory (Canvas c, int bodyPart, int begin, int end)
void drawPose (Canvas c, int step)
void drawPoseFat (Canvas c, int step)
void drawPoseWire (Canvas c, int step)
int getMaxStep ()
ArrayList< Point[]> getSequence ()
boolean isEmpty ()
boolean isTrackingBodyPart ()
void readData (File matlabAsciiFile) throws NumberFormatException, IOException
void setColor (int color)
void setColor (int color, int start, int end)
void setMode (boolean wireOnly)
void trackBodyPart (Integer bodyPart, int startTime)

Protected Member Functions

void cone (Canvas c, float x1, float y1, float z1, float x2, float y2, float z2, float r1, float r2)
void cyl (Canvas c, float x1, float y1, float z1, float x2, float y2, float z2, float r)
void drawSphere (Canvas c, float x, float y, float z, float r)

Protected Attributes

final float armsThickness = 0.035f
int color = 0xffff00ff
ArrayList< Point[]> jointPositions = new ArrayList<Point[]>()
final float spineThickness = 0.04f
Integer trackedBodyPart = null
boolean wireMode = false

Package Attributes

Integer trackedBodyPartStartTime

Detailed Description

TODO This class should be moved to edu.tum.cs.vis.items and should be specialized here. The specizalization should overwrite, in particular, drawSphere to use negative radii.

Author:
jain, waldhers

Definition at line 20 of file BodyPoseSequence.java.


Member Function Documentation

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.addPose ( float  EPISODE_NR,
float  TIME,
String  action,
float  BECX,
float  BECY,
float  BECZ,
float  ULWX,
float  ULWY,
float  ULWZ,
float  OLWX,
float  OLWY,
float  OLWZ,
float  UBWX,
float  UBWY,
float  UBWZ,
float  OBWX,
float  OBWY,
float  OBWZ,
float  UHWX,
float  UHWY,
float  UHWZ,
float  BRKX,
float  BRKY,
float  BRKZ,
float  OHWX,
float  OHWY,
float  OHWZ,
float  KOX,
float  KOY,
float  KOZ,
float  SEHX,
float  SEHY,
float  SEHZ,
float  OSLX,
float  OSLY,
float  OSLZ,
float  USLX,
float  USLY,
float  USLZ,
float  FULX,
float  FULY,
float  FULZ,
float  FBLX,
float  FBLY,
float  FBLZ,
float  OSRX,
float  OSRY,
float  OSRZ,
float  USRX,
float  USRY,
float  USRZ,
float  FURX,
float  FURY,
float  FURZ,
float  FBRX,
float  FBRY,
float  FBRZ,
float  SBLX,
float  SBLY,
float  SBLZ,
float  OALX,
float  OALY,
float  OALZ,
float  UALX,
float  UALY,
float  UALZ,
float  HALX,
float  HALY,
float  HALZ,
float  FILX,
float  FILY,
float  FILZ,
float  SBRX,
float  SBRY,
float  SBRZ,
float  OARX,
float  OARY,
float  OARZ,
float  UARX,
float  UARY,
float  UARZ,
float  HARX,
float  HARY,
float  HARZ,
float  FIRX,
float  FIRY,
float  FIRZ 
) [inline]

Definition at line 31 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.addPose ( float  episode_nr,
float  time,
String  action,
float[]  coords 
) [inline]

Definition at line 90 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.cone ( Canvas  c,
float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
float  r1,
float  r2 
) [inline, protected]

Definition at line 225 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.cyl ( Canvas  c,
float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
float  r 
) [inline, protected]

Definition at line 219 of file BodyPoseSequence.java.

Parameters:
cthe canvas to draw to
stepthe animation step/frame to draw (0-based index)

Implements edu.tum.cs.ias.knowrob.vis.DrawableAnimated.

Definition at line 98 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.drawBodyPartTrajectory ( Canvas  c,
int  bodyPart,
int  begin,
int  end 
) [inline]

Definition at line 239 of file BodyPoseSequence.java.

Definition at line 105 of file BodyPoseSequence.java.

Definition at line 152 of file BodyPoseSequence.java.

Definition at line 112 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.drawSphere ( Canvas  c,
float  x,
float  y,
float  z,
float  r 
) [inline, protected]

Definition at line 215 of file BodyPoseSequence.java.

the maximum frame (0-based index) that can be drawn

Returns:

Implements edu.tum.cs.ias.knowrob.vis.DrawableAnimated.

Definition at line 253 of file BodyPoseSequence.java.

Definition at line 86 of file BodyPoseSequence.java.

Definition at line 257 of file BodyPoseSequence.java.

Definition at line 235 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.readData ( File  matlabAsciiFile) throws NumberFormatException, IOException [inline]

reads joint trajectory data from a matlab ascii file

Parameters:
matlabAsciiFile
Exceptions:
NumberFormatException
IOException

Definition at line 267 of file BodyPoseSequence.java.

Reimplemented from edu.tum.cs.ias.knowrob.vis.items.ItemBase.

Definition at line 94 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.setColor ( int  color,
int  start,
int  end 
) [inline]

Reimplemented from edu.tum.cs.ias.knowrob.vis.items.ItemBase.

Definition at line 284 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.setMode ( boolean  wireOnly) [inline]

Definition at line 279 of file BodyPoseSequence.java.

void edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.trackBodyPart ( Integer  bodyPart,
int  startTime 
) [inline]

Definition at line 230 of file BodyPoseSequence.java.


Member Data Documentation

Definition at line 26 of file BodyPoseSequence.java.

Reimplemented from edu.tum.cs.ias.knowrob.vis.items.ItemBase.

Definition at line 24 of file BodyPoseSequence.java.

ArrayList<Point[]> edu.tum.cs.ias.knowrob.vis.items.BodyPoseSequence.jointPositions = new ArrayList<Point[]>() [protected]

Definition at line 22 of file BodyPoseSequence.java.

Definition at line 27 of file BodyPoseSequence.java.

Definition at line 23 of file BodyPoseSequence.java.

Definition at line 23 of file BodyPoseSequence.java.

Definition at line 29 of file BodyPoseSequence.java.


The documentation for this class was generated from the following file:


mod_vis
Author(s): Moritz Tenorth, Jakob Engel
autogenerated on Mon Oct 6 2014 01:30:01