uLib-0.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
uLib::Kernel< VoxelT > Class Template Reference

#include <Math/VoxImageFilter.h>

Inheritance diagram for uLib::Kernel< VoxelT >:
uLib::StructuredData

Public Member Functions

 Kernel (const Vector3i &size)
 
T & operator[] (const Vector3i &id)
 
T & operator[] (const int &id)
 
int GetCenterData () const
 
std::vector< T > & Data ()
 
const std::vector< T > & ConstData () const
 
void PrintSelf (std::ostream &o) const
 
- Public Member Functions inherited from uLib::StructuredData
 StructuredData (const Vector3i &size)
 
 StructuredData (const StructuredData &copy)
 
Vector3i GetDims () const
 
void SetDims (const Vector3i &size)
 
Vector3i GetIncrements () const
 
void SetIncrements (Vector3i name)
 
void SetDataOrder (Order order=YXZ)
 
Order GetDataOrder () const
 
bool IsInsideGrid (const Vector3i &v) const
 
int Map (Vector3i index) const
 
Vector3i UnMap (int index) const
 

Additional Inherited Members

- Public Types inherited from uLib::StructuredData
enum  _Order {
  CustomOrder = 0, XYZ = 0 | 1 << 2 | 2 << 4, XZY = 0 | 2 << 2 | 1 << 4, YXZ = 1 | 0 << 2 | 2 << 4,
  YZX = 2 | 0 << 2 | 1 << 4, ZXY = 1 | 2 << 2 | 0 << 4, ZYX = 2 | 1 << 2 | 0 << 4
}
 
typedef enum _Order Order
 

Constructor & Destructor Documentation

template<typename T >
uLib::Kernel< T >::Kernel ( const Vector3i size)

Member Function Documentation

template<typename VoxelT >
const std::vector<T>& uLib::Kernel< VoxelT >::ConstData ( ) const
inline
template<typename VoxelT >
std::vector<T>& uLib::Kernel< VoxelT >::Data ( )
inline
template<typename T >
int uLib::Kernel< T >::GetCenterData ( ) const
inline
template<typename VoxelT >
T& uLib::Kernel< VoxelT >::operator[] ( const Vector3i id)
inline
template<typename VoxelT >
T& uLib::Kernel< VoxelT >::operator[] ( const int &  id)
inline
template<typename T >
void uLib::Kernel< T >::PrintSelf ( std::ostream &  o) const

The documentation for this class was generated from the following files: