Classes | Public Types | Public Member Functions | Public Attributes | List of all members
ion::SVolume< T > Struct Template Reference

#include <SVolume.h>

Collaboration diagram for ion::SVolume< T >:
Collaboration graph
[legend]

Classes

class  SConstLayerAccess
 
class  SConstRowAccess
 
class  SLayerAccess
 
class  SRowAccess
 

Public Types

typedef std::vector< T >::iterator iterator
 
typedef std::vector< T >::const_iterator const_iterator
 

Public Member Functions

 SVolume (vec3i const &dimensions=vec3i())
 
 SVolume (T const &init, vec3i const &dimensions=vec3i())
 
virtual void Allocate ()
 
virtual void Allocate (T const &value)
 
virtual bool const InBounds (vec3i const Index) const
 
virtual bool const InBounds (int const X, int const Y, int const Z) const
 
virtual TGet (vec3i const Index)
 
virtual T const & Get (vec3i const Index) const
 
virtual TGet (int const X, int const Y, int const Z)
 
virtual T const & Get (int const X, int const Y, int const Z) const
 
T const & GetTricubicInterpolated (float const X, float const Y, float const Z) const
 
template<typename U >
T const & GetTricubicInterpolatedMember (float const X, float const Y, float const Z, U T::*Member) const
 
virtual SLayerAccess operator[] (int const X)
 
virtual SConstLayerAccess operator[] (int const X) const
 
virtual Toperator[] (vec3i const &index)
 
virtual Toperator[] (glm::ivec3 const &index)
 
virtual T const & operator[] (vec3i const &index) const
 
virtual T const & operator[] (glm::ivec3 const &index) const
 
virtual iterator begin ()
 
virtual iterator end ()
 
virtual const_iterator begin () const
 
virtual const_iterator end () const
 

Public Attributes

vector< TValues
 
vec3i Dimensions
 

Member Typedef Documentation

template<typename T>
typedef std::vector<T>::const_iterator ion::SVolume< T >::const_iterator
template<typename T>
typedef std::vector<T>::iterator ion::SVolume< T >::iterator

Constructor & Destructor Documentation

template<typename T>
ion::SVolume< T >::SVolume ( vec3i const &  dimensions = vec3i())
inline
template<typename T>
ion::SVolume< T >::SVolume ( T const &  init,
vec3i const &  dimensions = vec3i() 
)
inline

Member Function Documentation

template<typename T>
virtual void ion::SVolume< T >::Allocate ( )
inlinevirtual

Reimplemented in ion::SVolumeDatabase< T >.

template<typename T>
virtual void ion::SVolume< T >::Allocate ( T const &  value)
inlinevirtual
template<typename T>
virtual iterator ion::SVolume< T >::begin ( )
inlinevirtual
template<typename T>
virtual const_iterator ion::SVolume< T >::begin ( ) const
inlinevirtual
template<typename T>
virtual iterator ion::SVolume< T >::end ( )
inlinevirtual
template<typename T>
virtual const_iterator ion::SVolume< T >::end ( ) const
inlinevirtual
template<typename T>
virtual T& ion::SVolume< T >::Get ( vec3i const  Index)
inlinevirtual
template<typename T>
virtual T const& ion::SVolume< T >::Get ( vec3i const  Index) const
inlinevirtual
template<typename T>
virtual T& ion::SVolume< T >::Get ( int const  X,
int const  Y,
int const  Z 
)
inlinevirtual
template<typename T>
virtual T const& ion::SVolume< T >::Get ( int const  X,
int const  Y,
int const  Z 
) const
inlinevirtual
template<typename T>
T const& ion::SVolume< T >::GetTricubicInterpolated ( float const  X,
float const  Y,
float const  Z 
) const
inline
template<typename T>
template<typename U >
T const& ion::SVolume< T >::GetTricubicInterpolatedMember ( float const  X,
float const  Y,
float const  Z,
U T::*  Member 
) const
inline
template<typename T>
virtual bool const ion::SVolume< T >::InBounds ( vec3i const  Index) const
inlinevirtual
template<typename T>
virtual bool const ion::SVolume< T >::InBounds ( int const  X,
int const  Y,
int const  Z 
) const
inlinevirtual
template<typename T>
virtual SLayerAccess ion::SVolume< T >::operator[] ( int const  X)
inlinevirtual
template<typename T>
virtual SConstLayerAccess ion::SVolume< T >::operator[] ( int const  X) const
inlinevirtual
template<typename T>
virtual T& ion::SVolume< T >::operator[] ( vec3i const &  index)
inlinevirtual
template<typename T>
virtual T& ion::SVolume< T >::operator[] ( glm::ivec3 const &  index)
inlinevirtual
template<typename T>
virtual T const& ion::SVolume< T >::operator[] ( vec3i const &  index) const
inlinevirtual
template<typename T>
virtual T const& ion::SVolume< T >::operator[] ( glm::ivec3 const &  index) const
inlinevirtual

Member Data Documentation

template<typename T>
vec3i ion::SVolume< T >::Dimensions
template<typename T>
vector<T> ion::SVolume< T >::Values

The documentation for this struct was generated from the following file: