VisualizationFoundation 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[],CATBoolean&)
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.
o Get(float**,int*,float**,CATBoolean&)

Constructor and Destructor


o CAT2DQuadStripGP
public CAT2DQuadStripGP( const iPoints,
const iNb_points,
const iVertexcolors,
const i_formatRGBAFlag= FALSE)
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
public virtual Draw( iRender)
Draws the dynamic graphic primitive with a render.
Parameters:
iRender
the render used to draw the dynamic graphic primitive.
o Get
public Get( oPoints,
oNb_point,
oVertexcolors)
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.
o Get
public Get( o_ppPoints,
o_pNb_point,
o_ppVertexcolors,
o_formatRGBAFlag)

This object is included in the file: CAT2DQuadStripGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.