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

#include <GT_PrimVolume.h>

+ Inheritance diagram for GT_GEOPrimCollectVolume:

Public Member Functions

 GT_GEOPrimCollectVolume ()
 ~GT_GEOPrimCollectVolume () override
GT_GEOPrimCollectDatabeginCollecting (const GT_GEODetailListHandle &geometry, const GT_RefineParms *parms) const override
GT_PrimitiveHandle collect (const GT_GEODetailListHandle &, const GEO_Primitive *const *prim_list, int, GT_GEOPrimCollectData *) const override
GT_PrimitiveHandle endCollecting (const GT_GEODetailListHandle &geometry, GT_GEOPrimCollectData *data) const override
- 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 222 of file GT_PrimVolume.h.

Constructor & Destructor Documentation

GT_GEOPrimCollectVolume::GT_GEOPrimCollectVolume ( )

Definition at line 225 of file GT_PrimVolume.h.

GT_GEOPrimCollectVolume::~GT_GEOPrimCollectVolume ( )

Definition at line 226 of file GT_PrimVolume.h.

Member Function Documentation

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.

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.

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: