Carna  Version 3.3.2
Public Member Functions | List of all members
Carna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType > Class Template Reference

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

#include <VolumeSegment.h>

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

Public Member Functions

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

Detailed Description

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

Represents the normal map component of an VolumeSegment object.

Author
Leonid Kostrykin
Date
8.3.15 - 29.3.15

Definition at line 48 of file VolumeSegment.h.

Member Function Documentation

◆ normals() [1/2]

template<typename SegmentNormalsVolumeType >
SegmentNormalsVolumeType & Carna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType >::normals ( )

References the normal map of this partition.

Precondition
hasNormals() == true

Definition at line 99 of file VolumeSegment.h.

◆ normals() [2/2]

template<typename SegmentNormalsVolumeType >
const SegmentNormalsVolumeType & Carna::base::VolumeSegmentNormalsComponent< SegmentNormalsVolumeType >::normals ( ) const

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 107 of file VolumeSegment.h.


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