VisualizationFoundation CAT2DRep
Usage: you must use this class as is. You should never derive it.
public class CAT2DRep
Class to create a 2D representation of an application object.
Role: This class is the base class for all 2D representation classes,
necessary to visualize application objects.
Constructor and Destructor Index
- o
CAT2DRep(void)
- Constructs a representation.
- o
~CAT2DRep(void)
-
Method Index
- o
AddBoundingElement(CAT2DBoundingBox&)
- Add a bounding element to the 2D representation.
- o
GetBoundingCube(void)
- Returns the bounding element pointer .
- o
GetBoundingElement(void)
- Returns the bounding element of the 2D representation.
- o
GetBoundingElement(void)
- Returns the bounding element of the 2D representation.
- o
IsInvalid()
- Returns whether or not the bounding element is invalid.
- o
ResetBoundingElement(void)
- Reset the bounding element of the 2D representation.
- o
SetBoundingElement(CAT2DBoundingBox&)
- Sets the bounding element of the 2D representation.
- o
SetInvalid()
- Sets the bounding element of the current graphical representation as invalid.
Constructor and Destructor
o CAT2DRep
-
Constructs a representation.
o ~CAT2DRep
public virtual ~CAT2DRep( | | ) |
-
Methods
o AddBoundingElement
public virtual AddBoundingElement( | const | iBoundingElement) |
-
Add a bounding element to the 2D representation.
In fact, this method computes a new bounding element which contains the bounding
element of the representation and the bounding element to be added to the repsentation.
This new bounding element is the shortest one that it is possible to create.
- Parameters:
-
- iBoundingElement
- The bounding element to be added to the 2D representation.
o GetBoundingCube
public GetBoundingCube( | | ) |
-
Returns the bounding element pointer ...
o GetBoundingElement
public GetBoundingElement( | | ) |
-
Returns the bounding element of the 2D representation.
o GetBoundingElement
public GetBoundingElement( | | ) |
-
Returns the bounding element of the 2D representation.
o IsInvalid
-
Returns whether or not the bounding element is invalid.
o ResetBoundingElement
public ResetBoundingElement( | | ) |
-
Reset the bounding element of the 2D representation.
o SetBoundingElement
public SetBoundingElement( | const | iBoundingElement) |
-
Sets the bounding element of the 2D representation.
- Parameters:
-
- iBoundingElement
- The bounding element of the 2D representation.
o SetInvalid
-
Sets the bounding element of the current graphical representation as invalid.
That means that its bounding element is not right and should be computed when
necessary. This information is send up to its fathers, so that they are warned
that one of their children is invalid. And as a consequence fathers are also invalid.
And so on till we reach the root of the graphical tree.
This object is included in the file: CAT2DRep.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.