VisualizationFoundation CAT2DSymbolGP
Usage: you must use this class as is. You should never derive it.
public class CAT2DSymbolGP
Class to create a dynamic graphic primitive of a 2D Symbol.
Constructor and Destructor Index
- o
CAT2DSymbolGP()
- Constructs a default graphic primitive of a two dimensional symbol.
- o
CAT2DSymbolGP(float[2],float,CATSymbolType,int)
- Constructs a 2D symbol Graphic primitive.
Method Index
- o
ImmediateDraw(CATRender&,CATViewpoint*,CATViewport*)
- Draws a 2D Symbol.
Constructor and Destructor
o CAT2DSymbolGP
-
Constructs a default graphic primitive of a two dimensional symbol.
o CAT2DSymbolGP
public CAT2DSymbolGP( | const | iPoints, |
| const | iSize, |
| | iSymbol, |
| const | iZoom | = 0) |
-
Constructs a 2D symbol Graphic primitive.
- Parameters:
-
- iPoint
- the position of the graphic primitive in a 2D space (in model coordinates).
- iSize
- the size of the 2D symbol.
- iSymbol
- the type of 2D Symbol.
legal values:
- UNFILLED_CIRCLE : an unfilled circle
- BLANKED_CIRCLE : a circle composed of an unfilled circle and a circle filled with the background color.
- FILLED_CIRCLE : a filled circle.
- CROSSED_CIRCLE : a BLANKED_CIRCLE symbol with a cross which looks like a "X".
- BLANKED_SQUARE : a square composed of an unfilled square and a square filled with the background color.
- FILLED_SQUARE : a filled square.
- BLANKED_TRIANGLE : a triangle composed of an unfilled triangle and a triangle filled with the background color.
- FILLED_TRIANGLE : a filled triangle.
- MANIPULATOR_SQUARE : a square composed of a white unfilled square and a black filled square
- MANIPULATOR_DIAMOND : a square rotated of 45 degrees composed of a white unfilled square and a black filled square
- MANIPULATOR_CIRCLE : a circle composed of a white unfilled circle and a black filled circle
- MANIPULATOR_TRIANGLE : a triangle composed of a white unfilled triangle and a black filled triangle
- iZoom
- the type of size values.
legal values:
- 0 :
size is expressed in millimeters.
- 1 :
size is expressed in model unit.
Methods
o ImmediateDraw
public virtual ImmediateDraw( | | iRender, |
| const | iViewpoint, |
| const | iViewport) |
-
Draws a 2D Symbol.
- Parameters:
-
- iRender
- the render used to draw the 2D Symbol.
- iViewpoint
- the viewpoint used to draw the 2D Symbol.
- iViewport
- the viewport used to draw the 2D Symbol.
This object is included in the file: CAT2DSymbolGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.