VisualizationFoundation CAT3DArcEllipseGP
Usage: you must use this class as is. You should never derive it.
public class CAT3DArcEllipseGP
Class to create the dynamic graphic primitive of a 3D arc ellipse or a 3D ellipse.
Constructor and Destructor Index
- o
CAT3DArcEllipseGP()
- Constructs an empty 3D Arc Ellipse dynamic graphic primitive.
- o
CAT3DArcEllipseGP(CATMathPointf&,CATMathVectorf&,float,float,CATMathVectorf&,float,float,int)
- Constructs a 3D ellipse arc or a 3D ellipse graphic primitive
Method Index
- o
ImmediateDraw(CATRender&,CATViewpoint*,CATViewport*)
- Draws the ellipse arc.
- o
Modify(CATMathPointf&,float,float,float,float)
- Modify the ellipse arc.
- o
Modify(CATMathPointf&,CATMathVectorf&,CATMathVectorf&)
- Modify the ellipse arc.
- o
Modify(CATMathPointf&,CATMathVectorf&,float,float,CATMathVectorf&,float,float,int)
- Modify the ellipse arc.
Constructor and Destructor
o CAT3DArcEllipseGP
public CAT3DArcEllipseGP( | ) |
-
Constructs an empty 3D Arc Ellipse dynamic graphic primitive.
o CAT3DArcEllipseGP
public CAT3DArcEllipseGP( | const | iCenter, |
| const | iNormal, |
| const | iXRadius, |
| const | iYRadius, |
| const | iReferenceAxis, |
| const | iBeginAngle | = 0.f, |
| const | iEndAngle | = 6.2831853f, |
| const | iStaticSagUsed | = 0) |
-
Constructs a 3D ellipse arc or a 3D ellipse graphic primitive
- Parameters:
-
- iCenter
- The center of the ellipse arc.
- iNormal
- The normal to the ellipse plan.
This vector must be normalized
- iXRadius
- The ellipse arc radius in the reference axis direction.
- iYRadius
- The ellipse arc radius in the reference axis normal direction
- iReferenceAxis
- The reference axis.
It is in the ellipse plan.
- iStartAngle
- The start angle of the arc with
respect to the reference axis.
Legal values: The default start angle value
is 0.
- iEndAngle
- The end angle of the arc with
respect to the reference axis.
Legal values: The default end angle value
is 360 degrees.
- iStaticSagUsed
- Used to specify whether using a dynamic or a static
sag for the ellipse arc visualization.
Legal values:
- 1
- The sag value is static and taken
from the settings, and is constant whatever the distance between
the view point and the ellipse arc may be
- 0
- The sag value is dynamic and calculated depending on
the distance between the view point and the ellipse arc
Methods
o ImmediateDraw
public virtual ImmediateDraw( | | iRender, |
| const | iViewpoint, |
| const | iViewport) |
-
Draws the ellipse arc.
- Parameters:
-
- iRender
- The render through which the arc is drawn.
- iViewpoint
- The viewpoint through which the arc is seen.
- iViewport
- The viewport in which the arc is located.
o Modify
public Modify( | const | iCenter, |
| const | iMajorRadius, |
| const | iMinorRadius, |
| const | iStartAngle, |
| const | iEndAngle) |
-
Modify the ellipse arc.
- Parameters:
-
- iCenter
- The center of the ellipse.
- iMajorRadius
- The radius of the ellipse along the major axis, parallel to iAxis.
- iMinorRadius
- The radius of the ellipse along the minor axis, normal to iAxis.
- iStartAngle
- The offset in radian of the beginning of the ellipse arc.
- iEndAngle
- The offset in radian of the end of the ellipse arc.
o Modify
public Modify( | const | iCenter, |
| const | iNormal, |
| const | iAxis) |
-
Modify the ellipse arc.
- Parameters:
-
- iCenter
- The center of the ellipse.
- iNormal
- The normal to the plane of the ellipse.
- iAxis
- The direction in the plane of the ellipse used as major axis.
o Modify
public Modify( | const | iCenter, |
| const | iNormal, |
| const | iMajorRadius, |
| const | iMinorRadius, |
| const | iAxis, |
| const | iStartAngle, |
| const | iEndAngle, |
| const | iStaticSagUsed) |
-
Modify the ellipse arc.
- Parameters:
-
- iCenter
- The center of the ellipse.
- iNormal
- The normal to the plane of the ellipse.
- iMajorRadius
- The radius of the ellipse along the major axis, parallel to iAxis.
- iMinorRadius
- The radius of the ellipse along the minor axis, normal to iAxis.
- iAxis
- The direction in the plane of the ellipse used as major axis.
- iStartAngle
- The offset in radian of the beginning of the ellipse arc.
- iEndAngle
- The offset in radian of the end of the ellipse arc.
- iStaticSagUsed
- Used to specify whether using a dynamic or a static sag for the ellipse arc.
Legal values:
- 1
- The sag value is static and taken
from the settings, and is constant whatever the distance between
the view point and the arc ellipse may be
- 0
- The sag value is dynamic and calculated depending on
the distance between the view point and the arc ellipse
This object is included in the file: CAT3DArcEllipseGP.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.