Inviwo  0.9.10.1
Inviwo documentation
inviwo::buffertraits::PositionsBufferBase< DIMS > Class Template Reference

#include <typedmesh.h>

+ Inheritance diagram for inviwo::buffertraits::PositionsBufferBase< DIMS >:

Public Types

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

Public Member Functions

std::shared_ptr< const Buffer< typename Base::type > > getVertices () const
 
std::shared_ptr< Buffer< typename Base::type > > getEditableVertices ()
 
void setVertexPosition (size_t index, typename Base::type pos)
 
- Public Member Functions inherited from inviwo::buffertraits::TypedMeshBufferBase< float, DIMS, static_cast< int >(BufferType::PositionAttrib)>
 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, DIMS, static_cast< int >(BufferType::PositionAttrib)>
static inviwo::Mesh::BufferInfo bi ()
 
- Public Attributes inherited from inviwo::buffertraits::TypedMeshBufferBase< float, DIMS, static_cast< int >(BufferType::PositionAttrib)>
std::shared_ptr< Buffer< type > > buffer_
 

Detailed Description

template<unsigned DIMS>
class inviwo::buffertraits::PositionsBufferBase< DIMS >

BufferTrait for Position buffers


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