Inviwo  0.9.10.1
Inviwo documentation
inviwo::buffertraits::NormalBuffer Class Reference

#include <typedmesh.h>

+ Inheritance diagram for inviwo::buffertraits::NormalBuffer:

Public Types

using Base = TypedMeshBufferBase< float, 3, static_cast< int >(BufferType::NormalAttrib)>
 
- Public Types inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 3, static_cast< int >(BufferType::NormalAttrib)>
using type = Vector< DIM, float >
 

Public Member Functions

std::shared_ptr< const Buffer< Base::type > > getNormals () const
 
std::shared_ptr< Buffer< Base::type > > getEditableNormals ()
 
void setVertexNormal (size_t index, vec3 normal)
 
- Public Member Functions inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 3, static_cast< int >(BufferType::NormalAttrib)>
 TypedMeshBufferBase (Mesh &mesh)
 
auto getTypedRAMRepresentation () const
 
auto getTypedEditableRAMRepresentation ()
 
auto & getTypedDataContainer () const
 
auto & getTypedDataContainer ()
 

Additional Inherited Members

- Static Public Member Functions inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 3, static_cast< int >(BufferType::NormalAttrib)>
static inviwo::Mesh::BufferInfo bi ()
 
- Public Attributes inherited from inviwo::buffertraits::TypedMeshBufferBase< float, 3, static_cast< int >(BufferType::NormalAttrib)>
std::shared_ptr< Buffer< type > > buffer_
 

Detailed Description

BufferTrait for Normal buffers (glm::vec3)


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