VisualizationFoundation  CAT2DFixedArrowGP
Usage: you must use this class as is. You should never derive it.
 public class CAT2DFixedArrowGP
 Class to create a dynamic graphic primitive of a 2D fixed arrow.
 Role: Graphic primitive to display a 2D arrow whose size remains  
 constant on the screen (i.e., does not change with zoom, etc.).
 Constructor and Destructor Index
 
 -  o 
    CAT2DFixedArrowGP()
-   Constructs an empty 2D fixed arrow dynamic graphic primitive.
 
-  o 
    CAT2DFixedArrowGP(CATMathPoint2Df&,CATMathDirection2Df&,float,float,float,int)
-   Constructs a 2D fixed arrow dynamic graphic primitive.
Method Index
 
 -  o 
    AssociateText(char*)
-   Associates some text with the 2D fixed arrow.
 
-  o 
    ImmediateDraw(CATRender&,CATViewpoint*,CATViewport*)
-    Draws a 2D fixed arrow.
Constructor and Destructor
 
  o CAT2DFixedArrowGP
  | public   CAT2DFixedArrowGP( | ) | 
  - 
 Constructs an empty 2D fixed arrow dynamic graphic primitive.
o CAT2DFixedArrowGP| public   CAT2DFixedArrowGP( | const | iStartPt, | 
|  | const | iDirection, | 
|  | const | iArwLength | = 0.f, | 
|  | const | iArwheadLength | = 0.f, | 
|  | const | iAngle | = 0.f, | 
|  | const | iFill | = NOFILL) | 
  - 
 Constructs a 2D fixed arrow dynamic graphic primitive.
                                            ->      <- Arrowhead Length
                                              |--
  Arrow     Direction of arrow (a vector) ->  |  --
  Start    +----------------------------------|    + Arrow Tip Pt
   Pt                                         |  --
                                              |--
           <----------  Length of Arrow  ---------->
  -  Parameters:
  
- 
    
    -  iStartPt
   
- 	the start point of the 2D fixed arrow.
 
-  iDirection
   
- 	the direction of the 2D fixed arrow.
 The direction vector is assumed to be normalized.
-  iArwLength
   
- 	the lenght of the 2D fixed arrow (lenght from arrow start point to arrow tip point).
	
 legal values: the default value is 0.
-  iArwheadLength
   
- 	the lenght of the head of the 2D fixed arrow.
	
 legal values: the default value is 0.
-  iAngle
   
- 	the angle (in radians) formed by the line going from 
	iPoint and directed by iDirection, and one of the slanted arrowhead 
	lines.
	It determines how wide the arrowhead is at the base. 
	
 legal values: the default value is 0.
-  iFill
   
- 	allows to construct a 2D fixed arrow
	just with edges or filled with graphic attributes.
	
 legal values:
 NOFILL : just edges are drawn.
 FILL : the 2D fixed arrow is filled
				with graphic attributes.
 
 
Methods
 
  o AssociateText
  | public   AssociateText( |  | iText) | 
  - 
 Associates some text with the 2D fixed arrow.
 This text is displayed near the 2D fixed arrow.
 
  -  Parameters:
  
- 
    
    -  iText
   
- 	the string of characters which represents the text to display 
	near the 2D fixed arrow.
 
 
o ImmediateDraw| public virtual   ImmediateDraw( |  | iRender, | 
|  | const | iViewpoint, | 
|  | const | iViewPort) | 
  - 
  Draws a 2D fixed arrow.
 
  -  Parameters:
  
- 
    
    -  iRender
   
- 	the render used to draw the 2D fixed arrow.
 
-  iViewpoint
   
- 	the viewpoint used to draw the 2D fixed arrow.
 
-  iViewport
   
- 	the viewPort used to draw the 2D fixed arrow.
 
 
 This object is included in the file: CAT2DFixedArrowGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.