3DScene member variables moved to c++

This commit is contained in:
Enrico Turri 2018-06-06 12:36:52 +02:00
parent 2dee4d1a83
commit e79037c44d
10 changed files with 104 additions and 16 deletions

View file

@ -1149,6 +1149,21 @@ void GLCanvas3D::set_cutting_plane(float z, const ExPolygons& polygons)
m_cutting_plane.set(z, polygons);
}
void GLCanvas3D::set_color_by(const std::string& value)
{
m_color_by = value;
}
void GLCanvas3D::set_select_by(const std::string& value)
{
m_select_by = value;
}
void GLCanvas3D::set_drag_by(const std::string& value)
{
m_drag_by = value;
}
float GLCanvas3D::get_camera_zoom() const
{
return m_camera.zoom;