cgma
GeometryEvent Class Reference

#include <GeometryEvent.hpp>

Inheritance diagram for GeometryEvent:
CubitEvent CompositeCombineEvent GeometryIdSetEvent MergeEvent TransformEvent UnMergeEvent

List of all members.

Public Types

enum  Type {
  TOPOLOGY_ENTITY_CONSTRUCTED, TOPOLOGY_ENTITY_MODIFIED, TOPOLOGY_ENTITY_DESTRUCTED, DEVELOPER_COMMAND_FLAG_MODIFIED,
  MESH_SETTING_MODIFIED, GEOMETRY_TOPOLOGY_MODIFIED, TOPOLOGY_MODIFIED, GEOMETRY_MODIFIED,
  NEW_ENTITY_UNMERGED, FREE_REF_ENTITY_GENERATED, TOP_LEVEL_ENTITY_DESTRUCTED, ENTITY_NAME_CHANGED,
  ENTITY_GEOMETRY_COLOR_CHANGED, ENTITY_VISIBILITY_CHANGED, ENTITIES_MERGED, ID_SET,
  GROUP_MODIFIED, GEOMETRY_TRANSFORMED, VIRTUAL_STATUS_CHANGED
}

Public Member Functions

 GeometryEvent (Type type, RefEntity *entity)
 ~GeometryEvent ()
RefEntityget_entity () const
Type get_type () const

Protected Attributes

Type mType
RefEntitymRefEntity

Detailed Description

Definition at line 15 of file GeometryEvent.hpp.


Member Enumeration Documentation

Enumerator:
TOPOLOGY_ENTITY_CONSTRUCTED 
TOPOLOGY_ENTITY_MODIFIED 
TOPOLOGY_ENTITY_DESTRUCTED 
DEVELOPER_COMMAND_FLAG_MODIFIED 
MESH_SETTING_MODIFIED 
GEOMETRY_TOPOLOGY_MODIFIED 
TOPOLOGY_MODIFIED 
GEOMETRY_MODIFIED 
NEW_ENTITY_UNMERGED 
FREE_REF_ENTITY_GENERATED 
TOP_LEVEL_ENTITY_DESTRUCTED 
ENTITY_NAME_CHANGED 
ENTITY_GEOMETRY_COLOR_CHANGED 
ENTITY_VISIBILITY_CHANGED 
ENTITIES_MERGED 
ID_SET 
GROUP_MODIFIED 
GEOMETRY_TRANSFORMED 
VIRTUAL_STATUS_CHANGED 

Definition at line 18 of file GeometryEvent.hpp.

    {
       TOPOLOGY_ENTITY_CONSTRUCTED,
         /* A TopologyEntity was created */
       TOPOLOGY_ENTITY_MODIFIED,
         /* A TopologyEntity was changed */
       TOPOLOGY_ENTITY_DESTRUCTED,
         /* A TopologyEntity was deleted */
       DEVELOPER_COMMAND_FLAG_MODIFIED,
        /* The 'set developer command on/off' was issued */
       MESH_SETTING_MODIFIED,
         /* a mesh setting on a geometry entity was modified */
       GEOMETRY_TOPOLOGY_MODIFIED,
         /* Both geometry and topology was
          modified. e.g. partitioned.
         */
       TOPOLOGY_MODIFIED,
         /* The topology of a RefVolume or one of its sub-entities
          * was changed.  Used for virtual topology. */
       GEOMETRY_MODIFIED,
         /* The geometry of a RefEntity was altered. */
       NEW_ENTITY_UNMERGED,
         /*A surface, curve, or vertex was unmerged. */
       FREE_REF_ENTITY_GENERATED,
         /* A vertex that is not a part of a curve,
          * or a curve that is not a part of a surface,
          * was just generated */
       TOP_LEVEL_ENTITY_DESTRUCTED,
         /* A body or free entity and all it's children
          * are about to be destructed.
          * The pointer is still valid at this point for all
          * calls except geometry queries. 
          * The pointer can be cast to a higher level entity
          * if desired. */

       ENTITY_NAME_CHANGED,
         /* the name for an entity changed */
       
       ENTITY_GEOMETRY_COLOR_CHANGED,
       ENTITY_VISIBILITY_CHANGED,
        /* the visibility of an entity changed */
       
       ENTITIES_MERGED,
         /* two entities are merged together. See MergeEvent. */
       ID_SET,
         /* an entity had its id set (changed). See IdSetEvent. */
       GROUP_MODIFIED,
         // Group was modified.  Sent only once after all
         // modifications are complete.
       GEOMETRY_TRANSFORMED,

       VIRTUAL_STATUS_CHANGED

    };

Constructor & Destructor Documentation

GeometryEvent::GeometryEvent ( Type  type,
RefEntity entity 
)

Definition at line 4 of file GeometryEvent.cpp.

  : mType(type), mRefEntity(entity)
{
}

Definition at line 9 of file GeometryEvent.cpp.

{
}

Member Function Documentation

Definition at line 13 of file GeometryEvent.cpp.

{
  return mRefEntity;
}

Definition at line 18 of file GeometryEvent.cpp.

{
  return mType;
}

Member Data Documentation

Definition at line 82 of file GeometryEvent.hpp.

Definition at line 81 of file GeometryEvent.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines