CATFreeStyleUseItf Interface CATIStInteractor

Usage: you can freely reimplement this interface.


interface CATIStInteractor

Class defining basic behaviors for a control points mesh.

Role: Create the factory with the global function CATCreateStInteractiveFactory

  • Use it to create a dedicated CATCommand
  • When it is not needed anymore:
  • Call CATIStInteractor#CleanDependencies() method,
  • then call CATCommand#RequestDelayedDestruction() method.


    Method Index


    o CleanDependencies()
    Method to clean this interactor synchronously.
    o Disable(CATCommand*,CATNotification*)
    Deactivates a command.
    o Enable(CATCommand*,CATNotification*)
    Activates a command.
    o SetRefreshMethod(CATBaseUnknown_var&,CATIStRefresh_var&)
    Method to complete refresh after a model change.
    o SetShowMode(CATBoolean)
    Method to set the visibility of the interactor.

    Methods


    o CleanDependencies
    public virtual CleanDependencies()
    Method to clean this interactor synchronously.
  • This method must be used before calling CATCommand#RequestDelayedDestruction() method.
  • o Disable
    public virtual Disable( iFromClient,
    iNotification)
    Deactivates a command.
  • Called by the command owner to temporarily withdraw the focus from the command.
    Parameters:
    iFromClient
    The command that requests to deactivate the current one.
    iNotification
    The notification sent.
  • o Enable
    public virtual Enable( iFromClient,
    iNotification)
    Activates a command.
    Parameters:
    iFromClient
    The command that requests to activate the current one.
    iNotification
    The notification sent.
    o SetRefreshMethod
    public virtual SetRefreshMethod( const iSpecModel,
    iRefreshMethod)
    Method to complete refresh after a model change.
    Parameters:
    iSpecModel
    A CATISpecObject_var object representing the model.
    iSpecModel
    A CATISpecObject_var object representing the model.
    o SetShowMode
    public virtual SetShowMode( const iShowMode)
    Method to set the visibility of the interactor.
    Parameters:
    iShowMode
    A CATBoolean representing the show status (CATTrue: visible, CATFalse: hiden).

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

    Copyright © 1999-2014, Dassault Systèmes. All rights reserved.