SIM_PointNeighbourList Class Reference

#include <SIM_PointNeighbourList.h>

Inheritance diagram for SIM_PointNeighbourList:

SIM_Data

List of all members.

Public Member Functions

GU_NeighbourListgetList () const
 Get the list.
void forceRebuild (const GU_Detail *gdp)

Protected Member Functions

 SIM_PointNeighbourList (const SIM_DataFactory *factory)
virtual ~SIM_PointNeighbourList ()
virtual void initializeSubclass ()
virtual int64 getMemorySizeSubclass () const
virtual bool getIsAlternateRepresentationSubclass () const
virtual void initAlternateRepresentationSubclass (const SIM_Data &)


Detailed Description

This class holds a GU_NeighbourList which people can query. The pointtree refers to the point numbers of the SIM_Geometry this is an alternative represenation of.

Definition at line 37 of file SIM_PointNeighbourList.h.


Constructor & Destructor Documentation

SIM_PointNeighbourList::SIM_PointNeighbourList ( const SIM_DataFactory factory  )  [explicit, protected]

virtual SIM_PointNeighbourList::~SIM_PointNeighbourList (  )  [protected, virtual]


Member Function Documentation

void SIM_PointNeighbourList::forceRebuild ( const GU_Detail gdp  ) 

Forces a rebuild of the neighbour list, used when the point positions have changed.

virtual bool SIM_PointNeighbourList::getIsAlternateRepresentationSubclass (  )  const [protected, virtual]

Override this method to return true if your data type is built on demand. This is true for data that is just an alternative representation of some other data. This has several consequences. First, it implies that the data can be rebuilt from other data on the object, therefore it is not saved to disk. Also, it is assumed to be represent its parent data, so any modifications to the parent data cause this data to be deleted. If you override this method, do not call the base class implementation.

Reimplemented from SIM_Data.

GU_NeighbourList* SIM_PointNeighbourList::getList (  )  const

Get the list.

virtual int64 SIM_PointNeighbourList::getMemorySizeSubclass (  )  const [protected, virtual]

Override this function to return an accurate representation of the amount of memory used by this piece of data. The size of subdata should not be included in this calculation.

Reimplemented from SIM_Data.

virtual void SIM_PointNeighbourList::initAlternateRepresentationSubclass ( const SIM_Data  )  [protected, virtual]

Override this function if getIsAlternateRepresentationSubclass() is overridden to return true. This function is used to initialize the alternate representation based on the data to which it was just attached.

Reimplemented from SIM_Data.

virtual void SIM_PointNeighbourList::initializeSubclass (  )  [protected, virtual]

Overrides to properly implement this class as a SIM_Data. This object is meant to be updated from the object's geometry at each frame, so we only implement skeleton save, and load methods.

Reimplemented from SIM_Data.


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

Generated on Mon Jan 28 00:48:53 2013 for HDK by  doxygen 1.5.9