24 #ifndef _fracplanet_main_h_
25 #define _fracplanet_main_h_
49 FracplanetMain(QWidget* parent,QApplication* app,
const boost::program_options::variables_map& opts,
bool verbose);
52 virtual void progress_start(uint target,
const std::string&);
53 virtual void progress_stall(
const std::string& reason);
54 virtual void progress_step(uint step);
55 virtual void progress_complete(
const std::string&);
76 QApplication*
const application;
79 boost::scoped_ptr<const TriangleMeshTerrain> mesh_terrain;
82 boost::scoped_ptr<const TriangleMeshCloud> mesh_cloud;
85 std::vector<const TriangleMesh*> meshes;
97 boost::scoped_ptr<TriangleMeshViewer> viewer;
103 std::auto_ptr<QProgressDialog> progress_dialog;
104 std::string progress_info;
105 bool progress_was_stalled;
Interface for class ControlSave.
Interface for class ControlTerrain.
void regenerate()
Invoked by ControlTerrain to generate new TriangleMesh.
Definition: fracplanet_main.cpp:126
Interface for class ControlRender.
Aggregates controllable parameters for all things related to OpenGL rendering.
Definition: parameters_render.h:32
This class aggregates the controllable parameters for all things related to cloud generation...
Definition: parameters_cloud.h:32
Encapsulates GUI elements for controlling save.
Definition: control_save.h:32
void save_texture()
Invoked by ControlSave to save to file as texture(s).
Definition: fracplanet_main.cpp:350
Interface for class TriangleMeshCloud and derived classes.
Mix-in class for call-backs from long operations.
Definition: progress.h:30
Interface for class TriangleMeshTerrain and derived classes.
This class aggregates the controllable parameters for all things related to terrain generation...
Definition: parameters_terrain.h:35
void save_blender()
Invoked by ControlSave to save to file (Blender format).
Definition: fracplanet_main.cpp:289
Encapsulates controls for setting terrain generation parameters.
Definition: control_terrain.h:36
void save_pov()
Invoked by ControlSave to save to file (POV-Ray format).
Definition: fracplanet_main.cpp:225
Interface for class ParametersSave.
Interface for class ControlAbout.
Interface for class TriangleMeshViewer.
Encapsulates GUI elements for controlling OpenGL rendering.
Definition: control_render.h:31
Top level GUI component for fracplanet application: contains parameter controls and viewing area...
Definition: fracplanet_main.h:41
Displays "About" type info.
Definition: control_about.h:30
Interface for class Random and derived classes.
Interface for class ParametersTerrain.
Interface for class ParametersRender.