All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CATPathElementRep

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATRep
        |
        +---VisualizationBase.CAT3DRep
          |
          +---VisualizationBase.CATVizBasePathElementRep
            |
            +---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 ( CATRepPath ), 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(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(CATPathElementRep&)
Copy constructor.
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 CATPathElement& iPathOfObject,
CATRepPath& 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(CATPathElement* iPathOfObject,
CATRepPath* 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 CATPathElementRep& iRep)
Copy constructor.
o ~CATPathElementRep
public virtual ~CATPathElementRep()

Methods


o GetElementPath
public void GetElementPath(CATPathElement*& oPath)
Returns a reference to the path of objects.
o GetPathElement
public CATPathElement & GetPathElement()
Returns a reference to the path of objects.
o IsCSOOperationRep
public int IsCSOOperationRep(void )
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 void SetCSOOperationRep(int 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: CATVisualization

Copyright © 2003, Dassault Systèmes. All rights reserved.