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

#include <SVolumeDatabase.h>

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

Public Member Functions

 SVolumeDatabase ()
 
void Allocate ()
 
void AddField (std::string const &Field)
 
bool HasField (std::string const &Field)
 
SRange< TGetFieldRange (std::string const &Field, T const OutlierCutoff=5, SRange< T > const &acceptedValues=SRange< T >::Full) const
 
void MakeOpenGLVolume (uint const VolumeHandle, IColorMapper *ColorMapper)
 
void WriteToFile (std::ofstream &File)
 
void ReadFromFile (std::ifstream &File)
 
- Public Member Functions inherited from ion::SVolume< SVolumeDataRecord< T > >
 SVolume (vec3i const &dimensions=vec3i())
 
 SVolume (SVolumeDataRecord< T >const &init, vec3i const &dimensions=vec3i())
 
virtual void Allocate (SVolumeDataRecord< 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 SVolumeDataRecord< T > & Get (vec3i const Index)
 
virtual SVolumeDataRecord< T >const & Get (vec3i const Index) const
 
virtual SVolumeDataRecord< T > & Get (int const X, int const Y, int const Z)
 
virtual SVolumeDataRecord< T >const & Get (int const X, int const Y, int const Z) const
 
SVolumeDataRecord< T >const & GetTricubicInterpolated (float const X, float const Y, float const Z) const
 
SVolumeDataRecord< T >const & GetTricubicInterpolatedMember (float const X, float const Y, float const Z, U SVolumeDataRecord< T >::*Member) const
 
virtual SLayerAccess operator[] (int const X)
 
virtual SConstLayerAccess operator[] (int const X) const
 
virtual SVolumeDataRecord< T > & operator[] (vec3i const &index)
 
virtual SVolumeDataRecord< T > & operator[] (glm::ivec3 const &index)
 
virtual SVolumeDataRecord< T >const & operator[] (vec3i const &index) const
 
virtual SVolumeDataRecord< T >const & operator[] (glm::ivec3 const &index) const
 
virtual iterator begin ()
 
virtual const_iterator begin () const
 
virtual iterator end ()
 
virtual const_iterator end () const
 

Public Attributes

std::vector< std::string > Fields
 
- Public Attributes inherited from ion::SVolume< SVolumeDataRecord< T > >
vector< SVolumeDataRecord< T > > Values
 
vec3i Dimensions
 

Additional Inherited Members

- Public Types inherited from ion::SVolume< SVolumeDataRecord< T > >
typedef std::vector< SVolumeDataRecord< T > >::iterator iterator
 
typedef std::vector< SVolumeDataRecord< T > >::const_iterator const_iterator
 

Constructor & Destructor Documentation

template<typename T>
ion::SVolumeDatabase< T >::SVolumeDatabase ( )
inline

Member Function Documentation

template<typename T>
void ion::SVolumeDatabase< T >::AddField ( std::string const &  Field)
inlinevirtual

Implements ion::IDatabase< T >.

template<typename T>
void ion::SVolumeDatabase< T >::Allocate ( )
inlinevirtual
template<typename T>
SRange<T> ion::SVolumeDatabase< T >::GetFieldRange ( std::string const &  Field,
T const  OutlierCutoff = 5,
SRange< T > const &  acceptedValues = SRange<T>::Full 
) const
inlinevirtual

Implements ion::IDatabase< T >.

template<typename T>
bool ion::SVolumeDatabase< T >::HasField ( std::string const &  Field)
inlinevirtual

Implements ion::IDatabase< T >.

template<typename T>
void ion::SVolumeDatabase< T >::MakeOpenGLVolume ( uint const  VolumeHandle,
IColorMapper ColorMapper 
)
inline
template<typename T>
void ion::SVolumeDatabase< T >::ReadFromFile ( std::ifstream &  File)
inline
template<typename T>
void ion::SVolumeDatabase< T >::WriteToFile ( std::ofstream &  File)
inline

Member Data Documentation

template<typename T>
std::vector<std::string> ion::SVolumeDatabase< T >::Fields

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