Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::SpatialSampler< ReturnType > Class Template Referenceabstract
+ Inheritance diagram for inviwo::SpatialSampler< ReturnType >:

Public Types

using type = ReturnType
 

Public Member Functions

 SpatialSampler (const SpatialEntity &spatialEntity, CoordinateSpace space=CoordinateSpace::Data)
 
ReturnType sample (const dvec3 &pos) const
 
ReturnType sample (const vec3 &pos) const
 
ReturnType sample (const dvec2 &pos) const
 
ReturnType sample (const vec2 &pos) const
 
ReturnType sample (const dvec3 &pos, CoordinateSpace space) const
 
ReturnType sample (const vec3 &pos, CoordinateSpace space) const
 
ReturnType sample (const dvec2 &pos, CoordinateSpace space) const
 
ReturnType sample (const vec2 &pos, CoordinateSpace space) const
 
bool withinBounds (const dvec3 &pos) const
 
bool withinBounds (const vec3 &pos) const
 
bool withinBounds (const dvec2 &pos) const
 
bool withinBounds (const vec2 &pos) const
 
bool withinBounds (const dvec3 &pos, CoordinateSpace space) const
 
bool withinBounds (const vec3 &pos, CoordinateSpace space) const
 
bool withinBounds (const dvec2 &pos, CoordinateSpace space) const
 
bool withinBounds (const vec2 &pos, CoordinateSpace space) const
 
mat3 getBasis () const
 
mat4 getModelMatrix () const
 
mat4 getWorldMatrix () const
 
const SpatialCoordinateTransformergetCoordinateTransformer () const
 

Static Public Attributes

static const unsigned SpatialDimensions = 3
 

Protected Member Functions

virtual ReturnType sampleDataSpace (const dvec3 &pos) const =0
 
virtual bool withinBoundsDataSpace (const dvec3 &pos) const =0
 

Protected Attributes

CoordinateSpace space_
 
const SpatialEntityspatialEntity_
 
dmat4 transform_
 

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