Field3D
|
Contains Field, WritableField and ResizableField classes. More...
#include <cmath>
#include <vector>
#include <map>
#include <boost/intrusive_ptr.hpp>
#include <boost/thread/mutex.hpp>
#include "Traits.h"
#include "Exception.h"
#include "FieldMapping.h"
#include "FieldMetadata.h"
#include "Log.h"
#include "RefCount.h"
#include "Types.h"
#include "ns.h"
Go to the source code of this file.
Classes | |
class | Field< Data_T > |
class | Field< Data_T >::const_iterator |
class | FieldBase |
class | FieldRes |
class | ResizableField< Data_T > |
class | WritableField< Data_T > |
class | WritableField< Data_T >::iterator |
Namespaces | |
Exc | |
Namespace for Exception objects. | |
Macros | |
#define | FIELD3D_CLASSNAME_CLASSTYPE_IMPLEMENTATION |
#define | FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION(field) |
Functions | |
template<class Iter_T > | |
void | advance (Iter_T &iter, int num) |
template<class Iter_T > | |
void | advance (Iter_T &iter, int num, const Iter_T &end) |
Box3i | clipBounds (const Box3i &bbox, const Box3i &bounds) |
Box3d | continuousBounds (const Box3i &bbox) |
int | contToDisc (double contCoord) |
Goes from continuous coordinates to discrete coordinates See Graphics Gems - What is a pixel. More... | |
V2i | contToDisc (const V2d &contCoord) |
Goes from continuous coords to discrete for a 2-vector. More... | |
V3i | contToDisc (const V3d &contCoord) |
Goes from continuous coords to discrete for a 3-vector. More... | |
Box3i | discreteBounds (const Box3d &bbox) |
double | discToCont (int discCoord) |
Goes from discrete coordinates to continuous coordinates See Graphics Gems - What is a pixel. More... | |
V2d | discToCont (const V2i &discCoord) |
Goes from discrete coords to continuous for a 2-vector. More... | |
V3d | discToCont (const V3i &discCoord) |
Goes from discrete coords to continuous for a 3-vector. More... | |
FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION (Field) | |
FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION (WritableField) | |
FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION (ResizableField) | |
V3i | indexToCoord (const size_t idx, const V3i &res) |
template<class Data_T > | |
bool | isIdentical (typename Field< Data_T >::Ptr a, typename Field< Data_T >::Ptr b) |
Checks whether the span and data in two different fields are identical. More... | |
template<class Data_T , class Data_T2 > | |
bool | sameDefinition (typename Field< Data_T >::Ptr a, typename Field< Data_T2 >::Ptr b, double tolerance=0.0) |
Checks whether the mapping and resolution in two different fields are identical. More... | |
Contains Field, WritableField and ResizableField classes.
Definition in file Field.h.
#define FIELD3D_CLASSNAME_CLASSTYPE_IMPLEMENTATION |
Definition at line 478 of file Field.h.
Referenced by EmptyField< Data_T >::staticClassType(), and ProceduralField< Data_T >::~ProceduralField().
#define FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION | ( | field | ) |
Definition at line 484 of file Field.h.
Referenced by ResizableField< Data_T >::sizeChanged().
FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION | ( | Field | ) |
FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION | ( | WritableField | ) |
FIELD3D_CLASSTYPE_TEMPL_INSTANTIATION | ( | ResizableField | ) |
bool sameDefinition | ( | typename Field< Data_T >::Ptr | a, |
typename Field< Data_T2 >::Ptr | b, | ||
double | tolerance = 0.0 |
||
) |
Checks whether the mapping and resolution in two different fields are identical.
Definition at line 1021 of file Field.h.
References FieldRes::dataWindow(), FieldRes::extents(), and FieldRes::mapping().
bool isIdentical | ( | typename Field< Data_T >::Ptr | a, |
typename Field< Data_T >::Ptr | b | ||
) |
Checks whether the span and data in two different fields are identical.
Definition at line 1042 of file Field.h.
References Field< Data_T >::cbegin(), and Field< Data_T >::cend().
Referenced by FieldMapping::extentsChanged().
|
inline |
Goes from continuous coordinates to discrete coordinates See Graphics Gems - What is a pixel.
Definition at line 1066 of file Field.h.
References detail::floor().
Referenced by contToDisc().
|
inline |
Goes from discrete coordinates to continuous coordinates See Graphics Gems - What is a pixel.
Definition at line 1075 of file Field.h.
Referenced by FrustumFieldMapping::computeVoxelSize(), discToCont(), detail::MIPSeparableThreadOp< Field_T, FilterOp_T >::operator()(), and detail::separable().
Goes from continuous coords to discrete for a 2-vector.
Definition at line 1083 of file Field.h.
References contToDisc().
Goes from discrete coords to continuous for a 2-vector.
Definition at line 1091 of file Field.h.
References discToCont().
Goes from continuous coords to discrete for a 3-vector.
Definition at line 1099 of file Field.h.
References contToDisc().
Goes from discrete coords to continuous for a 3-vector.
Definition at line 1108 of file Field.h.
References discToCont().
Definition at line 1130 of file Field.h.
References detail::ceil(), and detail::floor().
Referenced by FieldSampler< WrapperVec_T, 1 >::getMinMax(), FieldSampler< WrapperVec_T, 3 >::getMinMax(), FieldSampler< WrapperVec_T, 1 >::getMinMaxMIP(), and FieldSampler< WrapperVec_T, 3 >::getMinMaxMIP().
Definition at line 1144 of file Field.h.
Referenced by detail::checkInputEmpty(), DenseField< Data_T >::getGrainBounds(), SparseField< Data_T >::getGrainBounds(), FieldSampler< WrapperVec_T, 1 >::getMinMax(), FieldSampler< WrapperVec_T, 3 >::getMinMax(), FieldSampler< WrapperVec_T, 1 >::getMinMaxMIP(), and FieldSampler< WrapperVec_T, 3 >::getMinMaxMIP().
Definition at line 1186 of file Field.h.
References FIELD3D_NAMESPACE_HEADER_CLOSE.
Referenced by SparseField< Data_T >::getGrainBounds().