Artec 3D Scanning SDK  2.0
Classes | Namespaces | Typedefs | Functions
TArrayRef.h File Reference
#include <artec/sdk/base/TRef.h>
#include <artec/sdk/base/IArray.h>
#include <artec/sdk/base/Types.h>
#include <artec/sdk/base/Errors.h>

Go to the source code of this file.

Classes

class  artec::sdk::base::TArrayRef< T >
 This class is intended for safe manipulation of arrays in terms of their life time. More...
 

Namespaces

 artec
 
 artec::sdk
 
 artec::sdk::base
 

Typedefs

typedef TArrayRef< IArrayByte > artec::sdk::base::TArrayByte
 
typedef TArrayRef< IArrayInt > artec::sdk::base::TArrayInt
 
typedef TArrayRef< IArrayFloat > artec::sdk::base::TArrayFloat
 
typedef TArrayRef< IArrayUVCoordinates > artec::sdk::base::TArrayUVCoordinates
 
typedef TArrayRef< IArrayPoint3F > artec::sdk::base::TArrayPoint3F
 
typedef TArrayRef< IArrayIndexTriplet > artec::sdk::base::TArrayIndexTriplet
 
typedef TArrayRef< IArrayString > artec::sdk::base::TArrayString
 
typedef TArrayRef< IArrayImage > artec::sdk::base::TArrayImage
 
typedef TArrayRef< const IArrayByte > artec::sdk::base::const_TArrayByte
 
typedef TArrayRef< const IArrayInt > artec::sdk::base::const_TArrayInt
 
typedef TArrayRef< const IArrayFloat > artec::sdk::base::const_TArrayFloat
 
typedef TArrayRef< const IArrayUVCoordinates > artec::sdk::base::const_TArrayUVCoordinates
 
typedef TArrayRef< const IArrayPoint3F > artec::sdk::base::const_TArrayPoint3F
 
typedef TArrayRef< const IArrayIndexTriplet > artec::sdk::base::const_TArrayIndexTriplet
 
typedef TArrayRef< const IArrayString > artec::sdk::base::const_TArrayString
 
typedef TArrayRef< const IArrayImage > artec::sdk::base::const_TArrayImage
 

Functions

template<class T >
ErrorCode artec::sdk::base::createArray (TArrayRef< T > &src, int elementsCount, bool zeroFill=false)
 Assign new array to TArrayRef. More...
 
template<>
ErrorCode artec::sdk::base::createArray< IArrayByte > (TArrayRef< IArrayByte > &src, int elementsCount, bool zeroFill)
 
template<>
ErrorCode artec::sdk::base::createArray< IArrayInt > (TArrayRef< IArrayInt > &src, int elementsCount, bool zeroFill)
 
template<>
ErrorCode artec::sdk::base::createArray< IArrayFloat > (TArrayRef< IArrayFloat > &src, int elementsCount, bool zeroFill)
 
template<>
ErrorCode artec::sdk::base::createArray< IArrayUVCoordinates > (TArrayRef< IArrayUVCoordinates > &src, int elementsCount, bool zeroFill)
 
template<>
ErrorCode artec::sdk::base::createArray< IArrayPoint3F > (TArrayRef< IArrayPoint3F > &src, int elementsCount, bool zeroFill)
 
template<>
ErrorCode artec::sdk::base::createArray< IArrayIndexTriplet > (TArrayRef< IArrayIndexTriplet > &src, int elementsCount, bool zeroFill)
 
template<class T >
ErrorCode artec::sdk::base::resizeArray (TArrayRef< T > &src, int elementsCount)
 Release the array assigned to TArrayRef and create a new one. More...
 
template<class T >
ErrorCode artec::sdk::base::resizeArray (TArrayRef< T > &src, int elementsCount, bool zeroFill)
 Release the array assigned to TArrayRef and create a new one. More...