MEPP2 Project
Gui_properties.h
Go to the documentation of this file.
1 // Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2 // All rights reserved.
3 //
4 // This file is part of MEPP2; you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as
6 // published by the Free Software Foundation; either version 3 of
7 // the License, or (at your option) any later version.
8 //
9 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11 #pragma once
12 
13 #include <string>
14 
15 
16 namespace FEVV {
17 namespace Types {
18 
19 
20 enum class DisplayMode { NO_COLOR, VERTEX_COLOR, FACE_COLOR, TEXTURE };
21 
27 {
28  std::string mesh_name;
29  DisplayMode display_mode = DisplayMode::NO_COLOR;
30  bool is_visible = true;
31  bool is_selected = false;
32 };
33 
34 
35 } // namespace Types
36 } // namespace FEVV
37 
FEVV::Types::GuiProperties::is_selected
bool is_selected
Definition: Gui_properties.h:31
FEVV::Types::GuiProperties::display_mode
DisplayMode display_mode
Definition: Gui_properties.h:29
FEVV::Types::GuiProperties::mesh_name
std::string mesh_name
Definition: Gui_properties.h:28
FEVV::Types::DisplayMode
DisplayMode
Definition: Gui_properties.h:20
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition: Assert.h:16
FEVV::Types::DisplayMode::NO_COLOR
@ NO_COLOR
FEVV::Types::GuiProperties::is_visible
bool is_visible
Definition: Gui_properties.h:30
FEVV::Types::GuiProperties
Definition: Gui_properties.h:27