|
Carna
Version 3.0.1
|
Defines the helpers::VolumeGridHelper component that computes and maintains normal maps. More...
#include <VolumeGridHelperDetails.h>
Inheritance diagram for Carna::helpers::details::VolumeGridHelper::NormalsComponent< SegmentHUVolumeType, SegmentNormalsVolumeType >:
Collaboration diagram for Carna::helpers::details::VolumeGridHelper::NormalsComponent< SegmentHUVolumeType, SegmentNormalsVolumeType >:Public Member Functions | |
| NormalsComponent () | |
| Sets the role to use for attaching textures to base::Geometry nodes to DEFAULT_ROLE_NORMALS. | |
| void | setNormalsRole (unsigned int role) |
| Sets the role to use for attaching textures to base::Geometry nodes. | |
| unsigned int | normalsRole () const |
| Tels the role used for attaching textures to base::Geometry nodes. | |
| void | computeNormals () |
| Computes the normal map on the previously set grid. | |
Public Member Functions inherited from Carna::helpers::details::VolumeGridHelper::TextureManager< NormalsTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType > > | |
| virtual | ~TextureManager () |
| Releases all textures and deletes. | |
| void | releaseGeometryFeatures () |
| Releases all textures. | |
Public Member Functions inherited from Carna::helpers::details::VolumeGridHelper::NormalsComponentBase | |
| virtual | ~NormalsComponentBase () |
| Deletes. | |
Static Public Attributes | |
| static const unsigned int | DEFAULT_ROLE_NORMALS = 1 |
| Holds the default role to use for attaching textures to base::Geometry nodes. | |
Protected Member Functions | |
| void | setGrid (base::VolumeGrid< SegmentHUVolumeType, SegmentNormalsVolumeType > &grid) |
| Sets the grid that computeNormals operates on. | |
| void | attachTexture (base::Geometry &geometry, const base::VolumeSegment< SegmentHUVolumeType, SegmentNormalsVolumeType > &segment) const |
| Attaches the texture that represents the base::VolumeSegmentNormalsComponent::normals of segment to geometry using the previously configured role. | |
| void | initializeSegment (base::VolumeSegment< SegmentHUVolumeType, SegmentNormalsVolumeType > &segment, const base::math::Vector3ui &size) const |
| Initializes normal map of segment. | |
Protected Member Functions inherited from Carna::helpers::details::VolumeGridHelper::TextureManager< NormalsTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType > > | |
| void | attachTexture (base::Geometry &geometry, unsigned int role, const base::VolumeSegment< typename NormalsTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType >::SegmentHUVolume, typename NormalsTextureFactory< SegmentHUVolumeType, SegmentNormalsVolumeType >::SegmentNormalsVolume > &segment) const |
Attaches the texture that TextureFactory creates from segment to geometry using role. | |
Protected Member Functions inherited from Carna::helpers::details::VolumeGridHelper::NormalsComponentBase | |
| virtual base::math::Vector3ui | gridResolution () const =0 |
| Tells the effective grid resolution. | |
Defines the helpers::VolumeGridHelper component that computes and maintains normal maps.
Definition at line 399 of file VolumeGridHelperDetails.h.
Documentation generated by Doxygen