Class Hierarchy
AcReCallout
C++
class AcReCallout;
File
scene.h
Description
The AcReCallout class is intended to be used as the base class for callout classes which override the methods that are called during the acreEntityToFaces process in order to retrieve the faceted approximation information to entities. When an object of one of these derived classes is instantiated and registered with the function acreRegisterCallout(), then when the function acreEntityToFaces() is called, the appropriate methods within the Callout object will be called.
The class AcReCallout has one public data member, intflags. It is the responsibility of the application to initialize this variable to some meaningful value before passing objects of this class to the function acreRegisterCallout(). Valid codes for this flags member are:
0 | The faceted approximation information will be only sent to the callout object's member functions. |
RENDER_CACHE | In addition to calling the callout object's member functions, acreEntityToFaces() will also write the faceted approximation information to a temporary file. If the application needs the faceted information of the same set of entities again later on, it is faster to access the previously generated temporary file instead of calling acreEntityToFaces() to generate the faceted information again. RENDER_CACHE is defined in scene.h. |
The member functions of the callout object are being called in the following order:
- For each layer used by the entities in the selection set passed to acreEntityToFaces:
- For each entity in the selection set passed to acreEntityToFaces:
- AcReCallout::e2fBlockData() (only present if the entity is an AcDbBlockReference)
- AcReCallout::e2fEntityData()
- AcReCallout::e2fVertexData()
- AcReCallout::e2fMeshData()
- AcReCallout::e2fBlockData() (only present if the entity is an AcDbBlockReference)
- AcReCallout::e2fHeaderData()
Links
See Also
acreRegisterCallout(), acreEntityToFaces()