27#ifndef EASY3D_RENDERER_BUFFER_H
28#define EASY3D_RENDERER_BUFFER_H
31#include <easy3d/renderer/state.h>
60 void update(Model* model, Drawable* drawable);
73 void update(PointCloud* model, PointsDrawable* drawable);
82 void update(PointCloud *model, LinesDrawable *drawable,
const std::string& field,
float scale);
96 void update(SurfaceMesh* model, PointsDrawable* drawable);
104 void update(SurfaceMesh* model, LinesDrawable* drawable);
112 void update(SurfaceMesh* model, TrianglesDrawable* drawable);
122 void update(SurfaceMesh *model, LinesDrawable *drawable,
const std::string& field,
State::Location location,
float scale);
136 void update(Graph* model, PointsDrawable* drawable);
145 void update(Graph* model, LinesDrawable* drawable);
160 void update(PolyMesh* model, PointsDrawable* drawable);
168 void update(PolyMesh* model, LinesDrawable* drawable);
178 void update(PolyMesh* model, TrianglesDrawable* drawable,
bool border);
189 void update(PolyMesh *model, LinesDrawable *drawable,
const std::string& field,
State::Location location,
float scale);
The base class for drawable objects. A drawable represent a set of points, line segments,...
Definition drawable.h:58
A Graph data structure with easy property management.
Definition graph.h:50
The drawable for rendering a set of line segments, e.g., edges of a mesh, vector fields.
Definition drawable_lines.h:40
The base class of renderable 3D models.
Definition model.h:50
A data structure for point clouds.
Definition point_cloud.h:45
The drawable for rendering a set of points, e.g., point clouds, vertices of a mesh.
Definition drawable_points.h:42
Data structure representing a polyhedral mesh.
Definition poly_mesh.h:49
Location
The location of a coloring property.
Definition state.h:68
A halfedge data structure for polygonal meshes of 2-manifold.
Definition surface_mesh.h:51
The drawable for rendering a set of triangles, e.g., the surface of a triangular mesh.
Definition drawable_triangles.h:46
Functions for updating render buffers.
Definition buffer.cpp:45
void update(PointCloud *model, PointsDrawable *drawable)
Update render buffers for the default "vertices" drawable of a point cloud. Coloring determined by th...
Definition buffer.cpp:1990
Definition collider.cpp:182