![]() |
LibCarna Version 3.4.0
|
Provides mapping base::VolumeSegment to base::ManagedTexture3D objects in a caching manner. Uses TextureFactory to create new base::ManagedTexture3D instances when cache entry does not exist. More...
#include <VolumeGridHelperDetails.hpp>
Public Member Functions | |
virtual | ~TextureManager () |
Releases all textures and deletes. | |
void | releaseGeometryFeatures () |
Releases all textures. | |
Protected Member Functions | |
void | attachTexture (base::Geometry &geometry, unsigned int role, const base::VolumeSegment< typename TextureFactory::SegmentIntensityVolume, typename TextureFactory::SegmentNormalsVolume > &segment) const |
Attaches the texture that TextureFactory creates from segment to geometry using role. | |
Provides mapping base::VolumeSegment to base::ManagedTexture3D objects in a caching manner. Uses TextureFactory to create new base::ManagedTexture3D instances when cache entry does not exist.
Definition at line 146 of file VolumeGridHelperDetails.hpp.
|
virtual |
Releases all textures and deletes.
Definition at line 193 of file VolumeGridHelperDetails.hpp.
|
protected |
Attaches the texture that TextureFactory
creates from segment to geometry using role.
Definition at line 212 of file VolumeGridHelperDetails.hpp.
void LibCarna::helpers::details::VolumeGridHelper::TextureManager< TextureFactory >::releaseGeometryFeatures | ( | ) |
Releases all textures.
Definition at line 200 of file VolumeGridHelperDetails.hpp.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen