All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT2DSymbolGP

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATGraphicPrimitive
        |
        +---VisualizationBase.CATDynamicGP
          |
          +---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,SymbolType,int)
Constructs a 2D symbol Graphic primitive.

Method Index


o ImmediateDraw(CATRender&,CATViewpoint*,CATViewport*)
Draws a 2D Symbol.

Constructor and Destructor


o CAT2DSymbolGP
public CAT2DSymbolGP()
Constructs a default graphic primitive of a two dimensional symbol.
o CAT2DSymbolGP
public CAT2DSymbolGP( const float[2] iPoints,
const float iSize,
SymbolType iSymbol,
const int iZoom= 0)
Constructs a 2D symbol Graphic primitive.
Parameters:
iPoints
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 void ImmediateDraw(CATRender& iRender,
const CATViewpoint* iViewpoint,
const CATViewport* 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: CATViz

Copyright © 2003, Dassault Systèmes. All rights reserved.