All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ObjectSpecsModeler Interface CATIConnector

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

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


interface CATIConnector

Interface to manage connectors.

Role : a connector is a handler on an object in the context of an instance of product.


Method Index


o Evaluate(CATClassId,CATMathTransformation*)
Returns a list of elements ( geometry ) referenced by the connector within a positionning context.
o GiveAssociatedConnectable()
Returns the connectable object exposing the connector.
o GiveContext()
Returns the position ( absolute matrix ) of the connectable object ( context ).
o GiveReferenceObject()
Returns the referenced element outside the Evaluate context ( ie without any positionning matrix ).

Methods


o Evaluate
public virtual CATLISTV(CATBaseUnknown_var) Evaluate(CATClassId iIntfName,
CATMathTransformation* iMatrix= NULL) = 0
Returns a list of elements ( geometry ) referenced by the connector within a positionning context.
Note:The list always have one element.
Parameters:
iIntfName
Name of the interface choosen to handle the geometry.
iMatrix
This input parameter has to be valuated if matrix has to be applied to geometry.
This matrix comes from GiveContext().
o GiveAssociatedConnectable
public virtual CATIConnectable_var GiveAssociatedConnectable()= 0
Returns the connectable object exposing the connector.
Role: To use every time you need much more than the position of the connectable object.
o GiveContext
public virtual CATMathTransformation* GiveContext()= 0
Returns the position ( absolute matrix ) of the connectable object ( context ).
Note: If the referenced element is a geometric one, this method allows to find the transformation matrix to apply to have the element in the context.
o GiveReferenceObject
public virtual CATILinkableObject_var GiveReferenceObject()= 0
Returns the referenced element outside the Evaluate context ( ie without any positionning matrix ).

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

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