Go to the documentation of this file.
80 other.m_private_impl = 0;
123 return *(
reinterpret_cast<T*
>(
m_pointer) + i);
128 return m_size /
sizeof(T);
151 return reinterpret_cast<T*
>(
m_pointer) + (i*3);
156 return m_size / (3 *
sizeof(T));
199 unsigned int size = data.
size();
201 for(
unsigned int i = 0; i < size; ++i)
225 #endif //DATA_TYPES_H
SingleObject(DataPointer &&temp)
Cast return-by-value temporary DataPointer to this type of object.
TripleArray< float > DataXYZFloat
T * operator[](unsigned int i) const
Represent the pointer as an array of T[3].
unsigned char * get_raw_pointer() const
Subclass for storing further members and attaching an overloadable dtor.
SingleArray< float > DataDeviation
~PointerArray()
Removes the temporary array on destruction (RAII)
T & get() const
Type-cast.
~DataPointer()
Delete the private implementation with its derived dtor.
SingleArray< float > DataReflectance
PointerArray(const TripleArray< T > &data)
Create a temporary array and fill it sequentially with pointers to points.
T ** get() const
Conversion operator to interface the TripleArray to a T** array.
SingleObject(SingleObject &&temp)
virtual ~PrivateImplementation()
unsigned int size() const
The number of T[3] instances in this array.
DataPointer(DataPointer &&other)
unsigned int size() const
There is only one object in here.
unsigned int size()
The number of T instances in this array.
TripleArray< double > DataXYZ
TripleArray< unsigned char > DataRGB
DataPointer(unsigned char *pointer, unsigned int size, PrivateImplementation *private_impl=0)
bool valid()
Indicator for nullpointer / no data contained if false.
SingleArray(SingleArray &&temp)
T & operator[](unsigned int i) const
Represent the pointer as an array of T.
unsigned char * m_pointer
DataPointer(DataPointer &other)
SingleArray(DataPointer &&temp)
Cast return-by-value temporary DataPointer to this type of array.
SingleArray< int > DataType
PrivateImplementation * m_private_impl
TripleArray(TripleArray &&temp)
SingleArray< float > DataAmplitude
TripleArray(DataPointer &&temp)
Cast return-by-value temporary DataPointer to this type of array.
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:23