77 SplatPropertyMap::const_iterator splatPropertyIter;
86 std::cerr <<
"Out of memory for a copy of SplatCloud's splat-property \"" << splatPropertyIter->first <<
"\"." << std::endl;
107 CloudPropertyMap::const_iterator cloudPropertyIter;
116 std::cerr <<
"Out of memory for a copy of SplatCloud's cloud-property \"" << cloudPropertyIter->first <<
"\"." << std::endl;
151 SplatPropertyMap::const_iterator splatPropertyIter;
153 delete splatPropertyIter->second.property_;
169 CloudPropertyMap::const_iterator cloudPropertyIter;
171 delete cloudPropertyIter->second.property_;
219 SplatPropertyMap::const_iterator splatPropertyIter;
221 splatPropertyIter->second.property_->clear();
234 SplatPropertyMap::const_iterator splatPropertyIter;
236 splatPropertyIter->second.property_->pushback();
249 SplatPropertyMap::const_iterator splatPropertyIter;
251 splatPropertyIter->second.property_->resize( _num );
SplatCloud()
Standard constructor.
void swapPredefinedCloudPropertyPointers(SplatCloud &_splatCloud)
Swap pointers to predefined cloud-properties.
void clearSplats()
Clear the data vector of all splat-properties.
CloudPropertyMap cloudProperties_
Cloud-property map.
void clearCloudProperties()
Clear all cloud-properties.
std::map< BasePropertyHandle, SplatPropertyMapEntry > SplatPropertyMap
std::map< BasePropertyHandle, CloudPropertyMapEntry > CloudPropertyMap
void swapPredefinedSplatPropertyPointers(SplatCloud &_splatCloud)
Swap pointers to predefined splat-properties.
SplatPropertyMap splatProperties_
Splat-property map.
void copySplatProperties(const SplatCloud &_splatCloud)
Deep copy all splat-properties.
void getPredefinedSplatPropertyPointers()
Get pointers to predefined splat-properties.
void clear()
Remove all properties and reset the number of splats.
virtual CloudPropertyInterface * clone() const =0
Return a deep copy of this.
unsigned int numSplats_
Number of splats.
void swap(SplatCloud &_splatCloud)
Swap the content.
void getPredefinedCloudPropertyPointers()
Get pointers to predefined cloud-properties.
void copyCloudProperties(const SplatCloud &_splatCloud)
Deep copy all cloud-properties.
void resetPredefinedCloudPropertyPointers()
Reset pointers to predefined cloud-properties.
virtual SplatPropertyInterface * clone() const =0
Return a deep copy of this.
void clearSplatProperties()
Clear all splat-properties.
void pushbackSplat()
Add one element at the end of the data vector of all splat-properties.
void resetPredefinedSplatPropertyPointers()
Reset pointers to predefined splat-properties.
void resizeSplats(unsigned int _num)
Resize the data vector of all splat-properties.