All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ToolPathEditorInterfaces Interface CATIMfgTPECutAreasEditor

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMfgTPECutAreasEditor
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIMfgTPECutAreasEditor

Interface to manage commands in the cut areas tool bar of the tool path editor.

Role This interface is intended to provide to users a way to add their own command in the tool bar of "cut area" modification in the tool path editor.

See also:
CATIMfgTPECutAreasUserHeader


Method Index


o BeginPolylineToCut()
Indicates to the cut area editor that designation of polyline begin.
o ClearAll()
Destroys all representations of last command.
o EndPolylineToCut()
Indicates to the cut area editor that designation of polyline end.
o GetPointsToolPathRep()
Gets the representation of points of the tool path.
o GetToolPath(CATIMfgToolPath_var&)
Gets the tool path.
o GetToolPathRep()
Gets the representation of the tool path.
o HideToolPathRep()
Hides the representation of the tool path.
o LoadCuttingGeometry(CATListOfDouble*,CATListOfDouble*,CATListOfDouble*)
Gives to the cut area editor a list of points to cut the tool path like in the action "Cut by a polygon".
o LoadOneCuttingPoint(CATMathPoint&)
Gives to the cut area editor a points which is on a trajectory to split the tool path in two.
o LoadOnePoint(CATMathPoint&)
Gives to the cut area editor a points which belongs to the tool path to split it in two.
o LoadPolylineToCut(CATListOfInt*)
Indicates to the cut area editor the list of polyline to cut.
o LoadTwoPoints(CATMathPoint&,CATMathPoint&)
Gives to the cut area editor two points to split the tool path between these two points.
o SetProjectionAxis(CATMathVector)
Indicates to the direction of projection to the algorithm of cut.
o ShowToolPathRep()
Shows the representation of the tool path.

Methods


o BeginPolylineToCut
public virtual HRESULT BeginPolylineToCut()= 0
Indicates to the cut area editor that designation of polyline begin.
o ClearAll
public virtual HRESULT ClearAll()= 0
Destroys all representations of last command.
o EndPolylineToCut
public virtual HRESULT EndPolylineToCut()= 0
Indicates to the cut area editor that designation of polyline end.
o GetPointsToolPathRep
public virtual CATRep* GetPointsToolPathRep()= 0
Gets the representation of points of the tool path.
o GetToolPath
public virtual HRESULT GetToolPath(CATIMfgToolPath_var& oToolPath) = 0
Gets the tool path.
Parameters:
oToolPath
The tool path.
o GetToolPathRep
public virtual CATRep* GetToolPathRep()= 0
Gets the representation of the tool path.
o HideToolPathRep
public virtual HRESULT HideToolPathRep()= 0
Hides the representation of the tool path. Usefull to display your own representation.
o LoadCuttingGeometry
public virtual HRESULT LoadCuttingGeometry(CATListOfDouble* XCoord,
CATListOfDouble* YCoord,
CATListOfDouble* ZCoord) = 0
Gives to the cut area editor a list of points to cut the tool path like in the action "Cut by a polygon".
Parameters:
XCoord
The X coordinates of the cutting points.
YCoord
The Y coordinates of the cutting points.
ZCoord
The X coordinates of the cutting points.
o LoadOneCuttingPoint
public virtual HRESULT LoadOneCuttingPoint( const CATMathPoint& iPoint) = 0
Gives to the cut area editor a points which is on a trajectory to split the tool path in two.
Parameters:
iPoint
The point
o LoadOnePoint
public virtual HRESULT LoadOnePoint( const CATMathPoint& iPoint) = 0
Gives to the cut area editor a points which belongs to the tool path to split it in two.
Parameters:
iPoint
The points
o LoadPolylineToCut
public virtual HRESULT LoadPolylineToCut(CATListOfInt* iListOfPolyline) = 0
Indicates to the cut area editor the list of polyline to cut.
Parameters:
iListOfPolyline
The list of polyline
o LoadTwoPoints
public virtual HRESULT LoadTwoPoints( const CATMathPoint& iFirstPoint,
const CATMathPoint& iSecondPoint) = 0
Gives to the cut area editor two points to split the tool path between these two points.
Parameters:
iFirstPoint
The first point
iSecondPoint
The second point
o SetProjectionAxis
public virtual HRESULT SetProjectionAxis(CATMathVector iAxis) = 0
Indicates to the direction of projection to the algorithm of cut.
Parameters:
iAxis
the direction of projection
o ShowToolPathRep
public virtual HRESULT ShowToolPathRep()= 0
Shows the representation of the tool path. Usefull to display the standard representation of the tool path at the end of your command.

This object is included in the file: CATIMfgTPECutAreasEditor.h
If needed, your Imakefile.mk should include the module: TPEItfEnv

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