LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LibCarna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType > Class Template Reference

Represents the normal map component of an VolumeSegment object. More...

#include <VolumeSegment.hpp>

+ Inheritance diagram for LibCarna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType >:

Public Member Functions

virtual ~VolumeSegmentNormalsComponent ()
 Deletes.
 
void setNormals (Association< SegmentNormalsVolumeType > *volume)
 Sets the normal map of this partition.
 
SegmentNormalsVolumeTypenormals ()
 References the normal map of this partition.
 
const SegmentNormalsVolumeTypenormals () const
 
bool hasNormals () const
 Tells whether this partition has a normal map associated.
 

Detailed Description

template<typename SegmentNormalsVolumeType>
class LibCarna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType >

Represents the normal map component of an VolumeSegment object.

Author
Leonid Kostrykin

Definition at line 47 of file VolumeSegment.hpp.

Constructor & Destructor Documentation

◆ ~VolumeSegmentNormalsComponent()

Deletes.

Definition at line 85 of file VolumeSegment.hpp.

Member Function Documentation

◆ hasNormals()

Tells whether this partition has a normal map associated.

Definition at line 114 of file VolumeSegment.hpp.

◆ normals() [1/2]

References the normal map of this partition.

Precondition
hasNormals() == true

Definition at line 98 of file VolumeSegment.hpp.

◆ normals() [2/2]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 106 of file VolumeSegment.hpp.

◆ setNormals()

Sets the normal map of this partition.

Definition at line 91 of file VolumeSegment.hpp.


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