83 SplatPropertyMap::const_iterator splatPropertyIter;
92 std::cerr <<
"Out of memory for a copy of SplatCloud's splat-property \"" << splatPropertyIter->first <<
"\"." << std::endl;
113 CloudPropertyMap::const_iterator cloudPropertyIter;
122 std::cerr <<
"Out of memory for a copy of SplatCloud's cloud-property \"" << cloudPropertyIter->first <<
"\"." << std::endl;
157 SplatPropertyMap::const_iterator splatPropertyIter;
159 delete splatPropertyIter->second.property_;
175 CloudPropertyMap::const_iterator cloudPropertyIter;
177 delete cloudPropertyIter->second.property_;
225 SplatPropertyMap::const_iterator splatPropertyIter;
227 splatPropertyIter->second.property_->clear();
240 SplatPropertyMap::const_iterator splatPropertyIter;
242 splatPropertyIter->second.property_->pushback();
255 SplatPropertyMap::const_iterator splatPropertyIter;
257 splatPropertyIter->second.property_->resize( _num );
CloudPropertyMap cloudProperties_
Cloud-property map.
SplatPropertyMap splatProperties_
Splat-property map.
void swapPredefinedSplatPropertyPointers(SplatCloud &_splatCloud)
Swap pointers to predefined splat-properties.
void clearCloudProperties()
Clear all cloud-properties.
std::map< BasePropertyHandle, SplatPropertyMapEntry > SplatPropertyMap
void clearSplatProperties()
Clear all splat-properties.
void copySplatProperties(const SplatCloud &_splatCloud)
Deep copy all splat-properties.
virtual CloudPropertyInterface * clone() const =0
Return a deep copy of this.
void clear()
Remove all properties and reset the number of splats.
void pushbackSplat()
Add one element at the end of the data vector of all splat-properties.
void resetPredefinedCloudPropertyPointers()
Reset pointers to predefined cloud-properties.
std::map< BasePropertyHandle, CloudPropertyMapEntry > CloudPropertyMap
void getPredefinedCloudPropertyPointers()
Get pointers to predefined cloud-properties.
void getPredefinedSplatPropertyPointers()
Get pointers to predefined splat-properties.
void resetPredefinedSplatPropertyPointers()
Reset pointers to predefined splat-properties.
SplatCloud()
Standard constructor.
virtual SplatPropertyInterface * clone() const =0
Return a deep copy of this.
void resizeSplats(unsigned int _num)
Resize the data vector of all splat-properties.
void copyCloudProperties(const SplatCloud &_splatCloud)
Deep copy all cloud-properties.
void swap(SplatCloud &_splatCloud)
Swap the content.
void clearSplats()
Clear the data vector of all splat-properties.
void swapPredefinedCloudPropertyPointers(SplatCloud &_splatCloud)
Swap pointers to predefined cloud-properties.
unsigned int numSplats_
Number of splats.