VisualizationController CATPathElementRep
Usage: you must use this class as is. You should never derive it.
public class CATPathElementRep
Class representing a path of 3D graphical representations associated to a path of objects.
Role: this class is used to visualize objects that are (pre)highlighted and it is
based on a path of 3D graphical representations ( ), which is an input of the class, to draw the geometry. This class overrides attributs associated to graphical representations hold in
the path.
Constructor and Destructor Index
- o
CATPathElementRep(CATPathElementRep&)
- Copy constructor.
- o
CATPathElementRep(CATPathElement*,CATRepPath*)
- Constructs a rep from a path of objects and a path of graphical representations.
- o
CATPathElementRep(CATPathElement&,CATRepPath&)
- Constructs a rep from a path of objects and a path of graphical representations.
- o
~CATPathElementRep()
-
Method Index
- o
GetElementPath(CATPathElement*&)
- Returns a reference to the path of objects.
- o
GetPathElement()
- Returns a reference to the path of objects.
- o
IsCSOOperationRep(void)
- This function enables the user to know if the rep is set to be used in a highlight context.
- o
SetCSOOperationRep(int)
- Enables the user to specify that the rep is used in a highlight context.
Constructor and Destructor
o CATPathElementRep
public CATPathElementRep( | const | iRep) |
-
Copy constructor.
o CATPathElementRep
public CATPathElementRep( | | iPathOfObject, |
| | iPathOfRep) |
-
Constructs a rep from a path of objects and a path of graphical representations.
- Parameters:
-
- iPathOfObject
- path of objects
- iPathOfRep
- path of graphical representations.
o CATPathElementRep
public CATPathElementRep( | const | iPathOfObject, |
| | iPathOfRep) |
-
Constructs a rep from a path of objects and a path of graphical representations.
- Parameters:
-
- iPathOfObject
- path of objects
- iPathOfRep
- path of graphical representations.
o ~CATPathElementRep
public virtual ~CATPathElementRep( | ) |
-
Methods
o GetElementPath
public GetElementPath( | | oPath) |
-
Returns a reference to the path of objects.
o GetPathElement
-
Returns a reference to the path of objects.
o IsCSOOperationRep
public IsCSOOperationRep( | | ) |
-
This function enables the user to know if the rep is set to be used in a highlight context.
- Returns:
- An int
- 1
- The rep is set to be used in a highlight context.
- 0
- The rep is set to be used in a manipulation context.
o SetCSOOperationRep
public SetCSOOperationRep( | | iHighlightContext | = 1 ) |
-
Enables the user to specify that the rep is used in a highlight context. The default context of the rep
is the manipulation one.
- Parameters:
-
- int
- iHighlightContext = 1
[in] The context: 1 means highlight context, 0 is for manipulation context.
This object is included in the file: CATPathElementRep.h
If needed, your Imakefile.mk should include the module: CATVisController
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.