All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GT_GEOPrimCollectVolume Class Reference

#include <GT_PrimVolume.h>

+ Inheritance diagram for GT_GEOPrimCollectVolume:

Public Member Functions

 GT_GEOPrimCollectVolume ()
virtual ~GT_GEOPrimCollectVolume ()
virtual GT_GEOPrimCollectDatabeginCollecting (const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const
virtual GT_PrimitiveHandle collect (const GT_GEODetailListHandle &, const GEO_Primitive *const *prim_list, int, GT_GEOPrimCollectData *) const
virtual GT_PrimitiveHandle endCollecting (const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const
- Public Member Functions inherited from GT_GEOPrimCollect
 GT_GEOPrimCollect ()
 Constructor. More...
virtual ~GT_GEOPrimCollect ()
 Destructor. More...
void bind (const GA_PrimitiveTypeId &id) const

Additional Inherited Members

- Static Public Member Functions inherited from GT_GEOPrimCollect
static GT_GEOPrimCollectPtr getCollector (const GA_PrimitiveTypeId &id)
 Get the current collector bound for a primitive. More...

Detailed Description

Trivial collector class for Volume - 1 GT_PrimVolume per Volume primitive with the visualization set to 'volume'.

Definition at line 137 of file GT_PrimVolume.h.

Constructor & Destructor Documentation

GT_GEOPrimCollectVolume::GT_GEOPrimCollectVolume ( )

Definition at line 140 of file GT_PrimVolume.h.

virtual GT_GEOPrimCollectVolume::~GT_GEOPrimCollectVolume ( )

Definition at line 141 of file GT_PrimVolume.h.

Member Function Documentation

virtual GT_GEOPrimCollectData* GT_GEOPrimCollectVolume::beginCollecting ( const GT_GEODetailListHandle geometry,
const GT_RefineParms parms 
) const

This method is called when the detail begins collecting. The method may or may not be called if there are now collectable primitives in the detail.

The data container is passed to the collect() and endCollect() methods. It is automatically deleted on completion. If no data is needed for collection, this method should return a NULL pointer (which is the default behaviour).

Reimplemented from GT_GEOPrimCollect.

virtual GT_PrimitiveHandle GT_GEOPrimCollectVolume::collect ( const GT_GEODetailListHandle geometry,
const GEO_Primitive *const prim_list,
int  nsegments,
GT_GEOPrimCollectData data 
) const

For each matching primitive in the detail, this method will be called. If no GT primitive should be created, return an empty handle.

Implements GT_GEOPrimCollect.

virtual GT_PrimitiveHandle GT_GEOPrimCollectVolume::endCollecting ( const GT_GEODetailListHandle geometry,
GT_GEOPrimCollectData data 
) const

Complete any processing fter all primitives have been collected

This method should not delete the collection data

Reimplemented from GT_GEOPrimCollect.

The documentation for this class was generated from the following file: