23#ifndef VCL_RENDER_DRAWABLE_ABSTRACT_DRAWABLE_MESH_H
24#define VCL_RENDER_DRAWABLE_ABSTRACT_DRAWABLE_MESH_H
26#include "drawable_object.h"
27#include "mesh/mesh_render_settings.h"
29#include <vclib/space/core/matrix.h>
50 template<MeshConcept MeshType>
57 virtual void updateBuffers(
59 MeshRenderInfo::BUFFERS_ALL) = 0;
63 virtual uint vertexNumber()
const = 0;
65 virtual uint faceNumber()
const = 0;
67 virtual uint edgeNumber()
const = 0;
71 virtual std::vector<std::string> textures()
const
73 return std::vector<std::string>();
87 swap(mMRS,
other.mMRS);
The AbstractDrawableMesh class is the base class for all the drawable meshes in the VCLib render syst...
Definition abstract_drawable_mesh.h:41
void setVisibility(bool vis)
This member function is used to set the visibility of the object.
Definition abstract_drawable_mesh.h:80
bool isVisible() const
This member function is used to check if the object is visible.
Definition abstract_drawable_mesh.h:78
The BitSet class allows to treat an integral type as an array of booleans of a guaranteed size.
Definition bit_set.h:52
A class representing a box in N-dimensional space.
Definition box.h:46
The DrawableObject class is the base class for all the objects that can be drawn in a 3D viewer.
Definition drawable_object.h:55
void swap(DrawableObject &other)
Utility swap function that allows to swap the content of two DrawableObject instances.
Definition drawable_object.h:196
The MeshRenderSettings class allows an easy management of render settings of a Mesh....
Definition mesh_render_settings.h:70
bool isVisible() const
Returns whether the mesh is visible.
Definition mesh_render_settings.h:199
bool setVisibility(bool b)
Sets the visibility of the mesh.
Definition mesh_render_settings.h:321