Class MeshGeometryIO

Inheritance Relationships

Derived Type

Class Documentation

class MeshGeometryIO

Subclassed by lvr2::AttributeMeshIOBase

Public Functions

virtual FloatChannelOptional getVertices() = 0

Persistence layer interface, Accesses the vertices of the mesh in the persistence layer.

Returns:

An optional float channel, the channel is valid if the mesh vertices have been read successfully

virtual IndexChannelOptional getIndices() = 0

Persistence layer interface, Accesses the face indices of the mesh in the persistence layer.

Returns:

An optional index channel, the channel is valid if the mesh indices have been read successfully

virtual bool addVertices(const FloatChannel &channel_ptr) = 0

Persistence layer interface, Writes the vertices of the mesh to the persistence layer.

Returns:

true if the channel has been written successfully

virtual bool addIndices(const IndexChannel &channel_ptr) = 0

Persistence layer interface, Writes the face indices of the mesh to the persistence layer.

Returns:

true if the channel has been written successfully