|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-----------------------------------------------------------------------------
Bear in mind that Segment is a MIXTURE of big and small objects.
The building block of AMFigureC. Represents a rigid part of the model.
It has a physical appearance which includes only shape
It can be connected with other segments, so that the structure of the owner
figure is determined.
A segment has a static transform and a dynamic trans may be applied
A Figure contains an array of segments, linked into a tree
structure. A segment has one parent segment and up to 3 children
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
AMSegmentC
-----------------------------------------------------------------------------
Variables:
- StringC name;
-
This segment's name
- SegStatTC segstat;
-
The transformation of the joint
- HomtmC toglobal;
-
toglobal is mainly used as a working variable
Typically it is used is to store the current transform from body
centered coords to the global coords
- PolopsC geom;
-
- int parent;
-
index to parent in holding array in AMFigureC
- int child[];
-
- int nchildren;
-
Methods:
- AMSegmentC(StringC _name = "Unnamed")
-
- AMSegmentC(const AMSegmentC & s)
-
- AMSegmentC & operator=(const AMSegmentC & s)
-
- ~AMSegmentC()
-
User member functions
---------------------
|
Programmer: Andrew Stoddart, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|