![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| TemplateVolumeSampler (const Volume &sharedVolume, CoordinateSpace space=CoordinateSpace::Data) | |
| TemplateVolumeSampler (std::shared_ptr< const Volume > sharedVolume, CoordinateSpace space=CoordinateSpace::Data) | |
| Public Member Functions inherited from inviwo::SpatialSampler< ReturnType > | |
| dmat3 | getBasis () const |
| const SpatialCoordinateTransformer & | getCoordinateTransformer () const |
| dmat4 | getModelMatrix () const |
| dmat4 | getWorldMatrix () const |
| auto | sample (const dvec2 &pos) const -> ReturnType |
| auto | sample (const dvec2 &pos, CoordinateSpace space) const -> ReturnType |
| auto | sample (const dvec3 &pos) const -> ReturnType |
| auto | sample (const dvec3 &pos, CoordinateSpace space) const -> ReturnType |
| auto | sample (const vec2 &pos) const -> ReturnType |
| auto | sample (const vec2 &pos, CoordinateSpace space) const -> ReturnType |
| auto | sample (const vec3 &pos) const -> ReturnType |
| auto | sample (const vec3 &pos, CoordinateSpace space) const -> ReturnType |
| SpatialSampler (const SpatialEntity &spatialEntity, CoordinateSpace space=CoordinateSpace::Data) | |
| bool | withinBounds (const dvec2 &pos) const |
| bool | withinBounds (const dvec2 &pos, CoordinateSpace space) const |
| bool | withinBounds (const dvec3 &pos) const |
| bool | withinBounds (const dvec3 &pos, CoordinateSpace space) const |
| bool | withinBounds (const vec2 &pos) const |
| bool | withinBounds (const vec2 &pos, CoordinateSpace space) const |
| bool | withinBounds (const vec3 &pos) const |
| bool | withinBounds (const vec3 &pos, CoordinateSpace space) const |
Protected Member Functions | |
| ReturnType | getVoxel (const size3_t &pos) const |
| virtual ReturnType | sampleDataSpace (const dvec3 &pos) const override |
| virtual bool | withinBoundsDataSpace (const dvec3 &pos) const override |
Protected Attributes | |
| const DataType * | data_ |
| size3_t | dimsM1_ |
| util::IndexMapper3D | ic_ |
| dvec3 | max_ |
| std::shared_ptr< const Volume > | sharedVolume_ |
| Protected Attributes inherited from inviwo::SpatialSampler< ReturnType > | |
| CoordinateSpace | space_ |
| const SpatialEntity & | spatialEntity_ |
| dmat4 | transform_ |
Additional Inherited Members | |
| Public Types inherited from inviwo::SpatialSampler< ReturnType > | |
| using | type = ReturnType |
| Static Public Attributes inherited from inviwo::SpatialSampler< ReturnType > | |
| static const unsigned | SpatialDimensions = 3 |
|
overrideprotectedvirtual |
Implements inviwo::SpatialSampler< ReturnType >.
|
overrideprotectedvirtual |
Implements inviwo::SpatialSampler< ReturnType >.