Inviwo  0.9.10.1
Inviwo documentation
inviwo::SpatialSampler< SpatialDims, DataDims, T > Class Template Referenceabstract
+ Inheritance diagram for inviwo::SpatialSampler< SpatialDims, DataDims, T >:

Public Types

using Space = CoordinateSpace
 
using ReturnType = Vector< DataDims, T >
 

Public Member Functions

 SpatialSampler (const SpatialEntity< SpatialDims > &spatialEntity, Space space=Space::Data)
 
virtual Vector< DataDims, T > sample (const Vector< SpatialDims, double > &pos) const
 
virtual Vector< DataDims, T > sample (const Vector< SpatialDims, float > &pos) const
 
virtual Vector< DataDims, T > sample (const Vector< SpatialDims, double > &pos, Space space) const
 
virtual Vector< DataDims, T > sample (const Vector< SpatialDims, float > &pos, Space space) const
 
virtual bool withinBounds (const Vector< SpatialDims, double > &pos) const
 
virtual bool withinBounds (const Vector< SpatialDims, float > &pos) const
 
virtual bool withinBounds (const Vector< SpatialDims, double > &pos, Space space) const
 
virtual bool withinBounds (const Vector< SpatialDims, float > &pos, Space space) const
 
Matrix< SpatialDims, float > getBasis () const
 
Matrix< SpatialDims+1, float > getModelMatrix () const
 
Matrix< SpatialDims+1, float > getWorldMatrix () const
 
const SpatialCoordinateTransformer< SpatialDims > & getCoordinateTransformer () const
 

Static Public Attributes

static const unsigned SpatialDimensions = SpatialDims
 
static const unsigned DataDimensions = DataDims
 

Protected Member Functions

virtual Vector< DataDims, T > sampleDataSpace (const Vector< SpatialDims, double > &pos) const =0
 
virtual bool withinBoundsDataSpace (const Vector< SpatialDims, double > &pos) const =0
 

Protected Attributes

Space space_
 
const SpatialEntity< SpatialDims > & spatialEntity_
 
Matrix< SpatialDims+1, double > transform_
 

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