VisualizationFoundation CATDynamicGP
Usage: you must use this class as is. You should never derive it.
public class CATDynamicGP
Base class of dynamic graphic primitives.
A graphic primitive is said dynamic when its representation, on the screen,
is viewpoint or viewport dependant.
You cannot delete a dynamic graphic primitive. You must use the
CATGraphicPrimite::Destroy static method to delete a graphic primitive.
The differed destruction is activated between the culling and the
drawing processing.
This class has a Draw method that must be called by a representation (CATRep)
in DrawShading method. It is not necessery to overload the Draw
method of the CATDynamicGP class.
Constructor and Destructor Index
- o
CATDynamicGP()
- Constructs a CATDynamicGP.
Method Index
- o
Draw(CATRender&)
- Draws the dynamic graphic primitive.
- o
ImmediateDraw(CATRender&,CATViewpoint*,CATViewport*)
- Draws the dynamic graphic primitive.
Constructor and Destructor
o CATDynamicGP
-
Constructs a CATDynamicGP.
Methods
o Draw
public virtual Draw( | | iRender) |
-
Draws the dynamic graphic primitive.
- Parameters:
-
- iRender
- The render through which the primitive is drawn.
o ImmediateDraw
public virtual ImmediateDraw( | | iRender, |
| const | iViewPoint, |
| const | iViewPort) |
-
Draws the dynamic graphic primitive.
Role:
Every dynamic graphic primitive must overloaded the
ImmediateDraw method. This method allows the immediate
mode rendering. This method is called through the call to Draw
- Parameters:
-
- iRender
- The render through which the primitive is drawn.
- iViewpoint
- The viewpoint through which the primitive is seen.
- iViewport
- The viewport in which the primitive is located.
This object is included in the file: CATDynamicGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.