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

Public Types

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

Public Member Functions

 Spatial4DSampler (std::shared_ptr< const SpatialEntity< 3 >> spatialEntity)
 
virtual Vector< DataDims, T > sample (const dvec4 &pos, Space space=Space::Data) const
 
virtual Vector< DataDims, T > sample (const vec4 &pos, Space space=Space::Data) const
 
virtual bool withinBounds (const dvec4 &pos, Space space=Space::Data) const
 
virtual bool withinBounds (const vec4 &pos, Space space=Space::Data) const
 
const SpatialCoordinateTransformer< 3 > & getCoordinateTransformer () const
 
mat4 getModelMatrix () const
 
mat4 getWorldMatrix () const
 

Static Public Attributes

static const unsigned SpatialDimensions = 4
 
static const unsigned DataDimensions = DataDims
 

Protected Member Functions

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

Protected Attributes

std::shared_ptr< const SpatialEntity< 3 > > spatialEntity_
 

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