|
| SimpleMesh (DrawType dt=DrawType::Points, ConnectivityType ct=ConnectivityType::None) |
|
| SimpleMesh (const SimpleMesh &rhs)=default |
|
SimpleMesh & | operator= (const SimpleMesh &that)=default |
|
virtual SimpleMesh * | clone () const override |
|
unsigned int | addVertex (vec3 pos, vec3 texCoord, vec4 color) |
|
void | addIndex (unsigned int idx) |
|
template<typename... Args> |
void | addIndices (Args &&...) |
|
void | setIndicesInfo (DrawType dt, ConnectivityType ct) |
|
const Buffer< vec3 > * | getVertexList () const |
|
const Buffer< vec3 > * | getTexCoordList () const |
|
const Buffer< vec4 > * | getColorList () const |
|
const IndexBuffer * | getIndexList () const |
|
template<typename... Args> |
void | addIndices (Args &&... args) |
|
| Mesh (DrawType dt, ConnectivityType ct) |
|
| Mesh (const Mesh &rhs) |
|
Mesh & | operator= (const Mesh &that) |
|
virtual Document | getInfo () const |
|
void | addBuffer (BufferInfo info, std::shared_ptr< BufferBase > att) |
|
void | addBuffer (BufferType type, std::shared_ptr< BufferBase > att) |
|
void | removeBuffer (size_t idx) |
|
void | replaceBuffer (size_t idx, BufferInfo info, std::shared_ptr< BufferBase > att) |
|
void | setBuffer (size_t idx, BufferInfo info, std::shared_ptr< BufferBase > att) |
|
void | addIndicies (MeshInfo info, std::shared_ptr< IndexBuffer > ind) |
|
std::shared_ptr< IndexBufferRAM > | addIndexBuffer (DrawType dt, ConnectivityType ct) |
|
void | removeIndexBuffer (size_t idx) |
|
void | reserveSizeInVertexBuffer (size_t size) |
|
void | reserveIndexBuffers (size_t size) |
|
const BufferVector & | getBuffers () const |
|
const IndexVector & | getIndexBuffers () const |
|
const BufferBase * | getBuffer (size_t idx) const |
|
BufferInfo | getBufferInfo (size_t idx) const |
|
const IndexBuffer * | getIndices (size_t idx) const |
|
std::pair< const BufferBase *, int > | findBuffer (BufferType type) const |
|
bool | hasBuffer (BufferType type) const |
|
BufferBase * | getBuffer (size_t idx) |
|
IndexBuffer * | getIndices (size_t idx) |
|
MeshInfo | getDefaultMeshInfo () const |
|
MeshInfo | getIndexMeshInfo (size_t idx) const |
|
size_t | getNumberOfBuffers () const |
|
size_t | getNumberOfIndicies () const |
|
void | append (const Mesh &mesh) |
| Append another mesh to this mesh. More...
|
|
virtual const SpatialCameraCoordinateTransformer< 3 > & | getCoordinateTransformer (const Camera &camera) const |
|
const T * | getRepresentation () const |
|
T * | getEditableRepresentation () |
|
bool | hasRepresentation () const |
|
bool | hasRepresentations () const |
|
void | clearRepresentations () |
|
| SpatialEntity (const SpatialEntity< N > &rhs) |
|
| SpatialEntity (const Matrix< N+1, float > &modelMatrix) |
|
| SpatialEntity (const Matrix< N+1, float > &modelMatrix, const Matrix< N+1, float > &worldMatrix) |
|
SpatialEntity< N > & | operator= (const SpatialEntity< N > &that) |
|
Vector< N, float > | getOffset () const |
|
void | setOffset (const Vector< N, float > &offset) |
|
Matrix< N, float > | getBasis () const |
|
void | setBasis (const Matrix< N, float > &basis) |
|
Matrix< N+1, float > | getModelMatrix () const |
|
void | setModelMatrix (const Matrix< N+1, float > &modelMatrix) |
|
Matrix< N+1, float > | getWorldMatrix () const |
|
void | setWorldMatrix (const Matrix< N+1, float > &worldMatrix) |
|
virtual const SpatialCoordinateTransformer< N > & | getCoordinateTransformer () const |
|
virtual const SpatialCameraCoordinateTransformer< N > & | getCoordinateTransformer (const CameraND< N > &camera) const |
|
| MetaDataOwner (const MetaDataOwner &rhs)=default |
|
MetaDataOwner & | operator= (const MetaDataOwner &rhs)=default |
|
void | copyMetaDataFrom (const MetaDataOwner &src) |
|
void | copyMetaDataTo (MetaDataOwner &dst) |
|
template<typename T > |
T * | createMetaData (const std::string &key) |
|
template<typename T , typename U > |
void | setMetaData (const std::string &key, U value) |
|
template<typename T > |
bool | unsetMetaData (const std::string &key) |
| unset, i.e. remove the metadata entry matching the given key and type More...
|
|
template<typename T , typename U > |
U | getMetaData (const std::string &key, U val) const |
|
template<typename T > |
T * | getMetaData (const std::string &key) |
|
template<typename T > |
const T * | getMetaData (const std::string &key) const |
|
MetaDataMap * | getMetaDataMap () |
|
const MetaDataMap * | getMetaDataMap () const |
|
template<typename T > |
bool | hasMetaData (const std::string &key) const |
|
virtual void | serialize (Serializer &s) const |
|
virtual void | deserialize (Deserializer &d) |
|