All Frameworks Class Hierarchy This Framework Previous Next Indexes
VisualizationBase Class CAT2DQuadStripGP
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---VisualizationBase.CATGraphicPrimitive
|
+---CAT2DQuadStripGP
Usage: you must use this class as is. You should never derive it.
public class CAT2DQuadStripGP
Class to create a dynamic graphic primitive of a 2D strip.
Role: Each vertices of the 2D strip may each have a different color.
Constructor and Destructor Index
- o
CAT2DQuadStripGP(float[],int,float[])
- Constructs a 2D quadstrip dynamic graphic primitive.
Method Index
- o
Draw(CATRender&)
- Draws the dynamic graphic primitive with a render.
- o
Get(float**,int*,float**)
- Retrieves data about the 2D Marker.
Constructor and Destructor
o CAT2DQuadStripGP
public CAT2DQuadStripGP( | const float[] | iPoints, |
| const int | iNb_points, |
| const float[] | iVertexcolors) |
-
Constructs a 2D quadstrip dynamic graphic primitive.
- Parameters:
-
- iPoints
- Array of point coordinates: XYXYXY...
Its size is equal to two times the number of points.
- iNb_points
- total number of points of the 2D quadstrip.
- iVertexcolors
- Array of vertex colors : RGBRGBRGB....
Its size is equal to three times the number of points.
Methods
o Draw
-
Draws the dynamic graphic primitive with a render.
- Parameters:
-
- iRender
- the render used to draw the dynamic graphic primitive.
o Get
public inline void Get( | float** | oPoints, |
| int* | oNb_point, |
| float** | oVertexcolors) const |
-
Retrieves data about the 2D Marker.
- Parameters:
-
- oPoints
- Array of point coordinates: XYXYXY...
Its size is equal to two times the number of points.
- oNb_point
- total number of points of the 2D quadstrip.
- oVertexcolors
- Array of vertex colors : RGBRGBRGB....
Its size is equal to three times the number of points.
This object is included in the file: CAT2DQuadStripGP.h
If needed, your Imakefile.mk should include the module: CATViz