All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Notification CATModelEntityNotification

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATNotification
        |
        +---Visualization.CATModelNotification
          |
          +---CATModelEntityNotification
 

Usage: you must use this class as is. You should never derive it.


public class CATModelEntityNotification

Class representing basic visualization events concerning one object.
Role: providing a visualization event basic class aimed at defining events sent by objects. Whenever objects' change happens, objects send a specialized visualization event CATModelNotification to warn the "Visualization world". That means the way provided in CATIAV5 to update the graphical representations of one object is to send a visualization event, which is defined by the CATModelNotification class.

That 's the reason why when one object's color is changed or when its shape is modified , it sends a visu event. Refer to the CATIModelEvents interface to have details about the management of the visualization events and their mechanism.

Examples of visualization events are CATCreate, CATDelete and CATModify.


Constructor and Destructor Index


o CATModelEntityNotification(CATBaseUnknown*)
Constructs the class from a pointer to one object.
o CATModelEntityNotification(void*)
Constructs the class from a generic pointer to one object.
o ~CATModelEntityNotification()

Method Index


o Clone()
Returns a pointer to a new CATModelEntityNotification event which is the clone of the current one.
o GetModelId()
Returns a generic pointer to the enclosed object.
o GetObject()
Returns a pointer to the enclosed object.

Constructor and Destructor


o CATModelEntityNotification
public CATModelEntityNotification(CATBaseUnknown* iObject)
Constructs the class from a pointer to one object.
Parameters:
iObject
a pointer to the object.
o CATModelEntityNotification
public CATModelEntityNotification(void* iModelId)
Constructs the class from a generic pointer to one object.
Parameters:
iModelId
the pointer.
o ~CATModelEntityNotification
public virtual ~CATModelEntityNotification()

Methods


o Clone
public virtual CATModelNotification* Clone()
Returns a pointer to a new CATModelEntityNotification event which is the clone of the current one.
o GetModelId
public void * GetModelId()const
Returns a generic pointer to the enclosed object.
o GetObject
public CATBaseUnknown * GetObject()const
Returns a pointer to the enclosed object.

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

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