All Frameworks Class Hierarchy This Framework Previous Next Indexes
VisualizationBase Class CAT2DTo3DRep
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---VisualizationBase.CATRep
|
+---VisualizationBase.CAT3DRep
|
+---VisualizationBase.CAT3DBagRep
|
+---CAT2DTo3DRep
Usage: you must use this class as is. You should never derive it.
public class CAT2DTo3DRep
Class to immerge a 2D Representation into a 3D Viewpoint.
Role: This class adds 2DRep into a 3D rep tree
You can use this class to display 2D elements into a 3D vue.
Constructor and Destructor Index
- o
CAT2DTo3DRep()
- Constructs an empty 2DTo3D graphic representation.
- o
CAT2DTo3DRep(CAT2DBagRep*,CATMathPointf&,CATMathDirectionf&,CATMathDirectionf&,int)
- Constructs a CAT2Dto3DRep rep.
- o
~CAT2DTo3DRep()
-
Method Index
- o
AddChild(CATRep&)
- Adds a child representation to the bag.
- o
ComputeBoundingElement(int)
- Recalculates the bounding element.
Constructor and Destructor
o CAT2DTo3DRep
-
Constructs an empty 2DTo3D graphic representation.
o CAT2DTo3DRep
-
Constructs a CAT2Dto3DRep rep.
- Parameters:
-
- ibag2D
- The CAT2DBagRep containing the CAT2DRep to display
- ipoint
- The position of the CAT2DBagRep inside the 3D view
- idir_x
- The X direction inside the 3D view
- idir_y
- The Y direction inside the 3D view
- istatic_mode
- When this paramter is set to 0 (default value), the CAT2DBagRep will
move according to the 3D View.
When this parameter is set to 1, CAT2DBagRep will be modified so that
it will always be drawn in front of the screen.
When this parameter is set to 2, CAT2DBagRep will move according to
the 3D View but it will be drawn only if the scalar product between
the 3D sight direction and (idir_x^idir_y) is negative.
o ~CAT2DTo3DRep
public virtual ~CAT2DTo3DRep( | ) |
-
Methods
o AddChild
-
Adds a child representation to the bag.
- Parameters:
-
- iRep
- Child representation to be added.
o ComputeBoundingElement
public virtual void ComputeBoundingElement( | int | iShowSpace | =1) |
-
Recalculates the bounding element.
- Parameters:
-
- iShowSpace
This object is included in the file: CAT2DTo3DRep.h
If needed, your Imakefile.mk should include the module: CATViz