Carna  Version 3.3.2
Public Member Functions | Protected Member Functions | List of all members
Carna::helpers::details::VolumeGridHelper::TextureManager< TextureFactory > Class Template Reference

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.h>

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.
 

Detailed Description

template<typename TextureFactory>
class Carna::helpers::details::VolumeGridHelper::TextureManager< TextureFactory >

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.

Author
Leonid Kostrykin
Date
27.3.15

Definition at line 145 of file VolumeGridHelperDetails.h.


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