Developer Documentation
|
#include <Type-SplatCloud/ObjectTypes/SplatCloud/SplatCloud/SplatCloud.hh>
Public Types | |
typedef T | Value |
Value type. More... | |
typedef std::vector< T >::reference | Reference |
These are references to T, not to SplatPropertyT<T>. More... | |
typedef std::vector< T >::const_reference | ConstReference |
These are used because a std::vector<bool>::reference is not the same as a reference to bool. More... | |
Public Member Functions | |
SplatPropertyT (const PropertyHandleT< T > &_handle, unsigned int _num) | |
Constructor. More... | |
Reference | data (int _idx) |
Access the data as reference. More... | |
ConstReference | data (int _idx) const |
Access the data as const reference. More... | |
virtual size_t | sizeOf () const override |
Get the size of type. More... | |
virtual const std::type_info & | typeId () const override |
Get the runtime type information. More... | |
virtual size_t | sizeOf () const =0 |
Get the size of type. More... | |
virtual const std::type_info & | typeId () const =0 |
Get the runtime type information. More... | |
Private Member Functions | |
virtual | ~SplatPropertyT () |
Destructor. More... | |
virtual SplatPropertyT * | clone () const override |
Return a deep copy of this. More... | |
virtual void | clear () override |
Clear the data vector. More... | |
virtual void | pushback () override |
Add one element at the end of the data vector. More... | |
virtual void | resize (unsigned int _num) override |
Resize the data vector. More... | |
virtual void | crop (const std::vector< int > &_indices) override |
Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique. More... | |
void | operator= (const SplatPropertyT< T > &)=delete |
Private Attributes | |
std::vector< T > | data_ |
The actual stored data (one element per splat) More... | |
Friends | |
class | SplatCloud |
Let class SplatCloud access methods like clone(). More... | |
Type specific class for splat-properties
Definition at line 293 of file SplatCloud.hh.
typedef std::vector<T>::const_reference SplatCloud::SplatPropertyT< T >::ConstReference |
These are used because a std::vector<bool>::reference is not the same as a reference to bool.
Definition at line 299 of file SplatCloud.hh.
typedef std::vector<T>::reference SplatCloud::SplatPropertyT< T >::Reference |
These are references to T, not to SplatPropertyT<T>.
Definition at line 298 of file SplatCloud.hh.
typedef T SplatCloud::SplatPropertyT< T >::Value |
Value type.
Definition at line 297 of file SplatCloud.hh.
|
inlineexplicit |
Constructor.
Definition at line 301 of file SplatCloud.hh.
|
inlineprivatevirtual |
Destructor.
Definition at line 308 of file SplatCloud.hh.
|
inlineoverrideprivatevirtual |
Clear the data vector.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 310 of file SplatCloud.hh.
|
inlineoverrideprivatevirtual |
Return a deep copy of this.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 309 of file SplatCloud.hh.
|
overrideprivatevirtual |
Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 170 of file SplatCloudT_impl.hh.
|
inline |
Access the data as reference.
Definition at line 302 of file SplatCloud.hh.
|
inline |
Access the data as const reference.
Definition at line 303 of file SplatCloud.hh.
|
inlineoverrideprivatevirtual |
Add one element at the end of the data vector.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 311 of file SplatCloud.hh.
|
inlineoverrideprivatevirtual |
Resize the data vector.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 312 of file SplatCloud.hh.
|
inlineoverridevirtual |
Get the size of type.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 305 of file SplatCloud.hh.
|
inlineoverridevirtual |
Get the runtime type information.
Implements SplatCloud::SplatPropertyInterface.
Definition at line 306 of file SplatCloud.hh.
|
friend |
Let class SplatCloud access methods like clone().
Definition at line 295 of file SplatCloud.hh.
|
private |
The actual stored data (one element per splat)
Definition at line 317 of file SplatCloud.hh.