Field3D
SparseField.h File Reference

Contains the SparseField class. More...

#include <vector>
#include <boost/lexical_cast.hpp>
#include "Field.h"
#include "SparseFile.h"
#include "ns.h"

Go to the source code of this file.

Classes

class  CubicGenericFieldInterp< Field_T >
 
class  LinearGenericFieldInterp< Field_T >
 
struct  Sparse::CheckAllEqual< Data_T >
 Checks if all the values in the SparseBlock are equal. Used by SparseField::releaseBlocks(). More...
 
struct  Sparse::CheckMaxAbs< Data_T >
 Checks if all the absolute values in the SparseBlock are greater than some number. Useful for making narrow band levelsets Used by SparseField::releaseBlocks(). More...
 
class  Sparse::SparseBlock< Data_T >
 Storage for one individual block of a SparseField. More...
 
class  SparseField< Data_T >
 This Field subclass stores voxel data in block-allocated arrays. More...
 
class  SparseField< Data_T >::block_iterator
 
class  SparseField< Data_T >::const_iterator
 
class  SparseField< Data_T >::iterator
 

Namespaces

 Sparse
 Namespace for sparse field specifics.
 

Constant Groups

 Sparse
 Namespace for sparse field specifics.
 

Macros

#define BLOCK_ORDER   4
 

Typedefs

typedef SparseField< V3dSparseField3d
 
typedef SparseField< V3fSparseField3f
 
typedef SparseField< V3hSparseField3h
 
typedef SparseField< double > SparseFieldd
 
typedef SparseField< float > SparseFieldf
 
typedef SparseField< halfSparseFieldh
 

Functions

 FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION (SparseField)
 
template<typename Data_T >
bool Sparse::isAnyLess (const Data_T &left, const Data_T &right)
 
template<>
bool Sparse::isAnyLess (const V3h &left, const V3h &right)
 
template<>
bool Sparse::isAnyLess (const V3f &left, const V3f &right)
 
template<>
bool Sparse::isAnyLess (const V3d &left, const V3d &right)
 

Detailed Description

Contains the SparseField class.

Definition in file SparseField.h.

Macro Definition Documentation

#define BLOCK_ORDER   4

Definition at line 56 of file SparseField.h.

Typedef Documentation

Definition at line 439 of file SparseField.h.

typedef SparseField<float> SparseFieldf

Definition at line 440 of file SparseField.h.

typedef SparseField<double> SparseFieldd

Definition at line 441 of file SparseField.h.

Definition at line 442 of file SparseField.h.

Definition at line 443 of file SparseField.h.

Definition at line 444 of file SparseField.h.

Function Documentation

FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION ( SparseField  )