All Frameworks Class Hierarchy This Framework Previous Next Indexes
VisualizationBase Class CAT3DCurveRep
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---VisualizationBase.CATRep
|
+---VisualizationBase.CAT3DRep
|
+---CAT3DCurveRep
Usage: you must use this class as is. You should never derive it.
public class CAT3DCurveRep
Class to create the representation of a curve.
Role: This representation is a collection of CAT3DLineGP,
each one representing a Level of Detail (LOD).
LOD should be added in the order of increasing tessellation accuracy factor.
Example :
- lod 0 => sag = 0.10
- lod 1 => sag = 0.25
- lod 3 => sag = 0.50
Constructor and Destructor Index
- o
CAT3DCurveRep()
- Constructs an empty representation of a curve.
- o
CAT3DCurveRep(CATModelIdentificator&,CATVisuController*)
-
- o
~CAT3DCurveRep()
-
Method Index
- o
AddWireframeLOD(int,CAT3DPolylineGP*,float)
- Adds a level of detail.
- o
GetNbWireframeLODs()
- Retrieves the number of Wireframe LOD.
- o
GetWireframeLOD(int,CAT3DPolylineGP*&,float&)
- Retrieves one specific Wireframe LOD.
Constructor and Destructor
o CAT3DCurveRep
-
Constructs an empty representation of a curve.
o CAT3DCurveRep
-
o ~CAT3DCurveRep
public virtual ~CAT3DCurveRep( | ) |
-
Methods
o AddWireframeLOD
public virtual void AddWireframeLOD( | int | iLODNumber, |
| CAT3DPolylineGP* | iGP, |
| float | iSag) |
-
Adds a level of detail. iLODNumber and iSag must increase concurrently.
- Parameters:
-
- iLODNumber
- This number identifies the LOD.
- iGP
- The graphic primitive associated to the LOD.
- iSag
- The tesselation accuracy used to create iGP
o GetNbWireframeLODs
public int GetNbWireframeLODs( | ) |
-
Retrieves the number of Wireframe LOD.
o GetWireframeLOD
-
Retrieves one specific Wireframe LOD.
- Parameters:
-
- iLODNumber
- This number identifies the LOD.
- oGP
- The graphic primitive associated to the LOD.
- oSag
- The tesselation accuracy used to create iGP
This object is included in the file: CAT3DCurveRep.h
If needed, your Imakefile.mk should include the module: CATViz