Privacy
An open-source, flexible 3D physical simulation framework
mars::gui::BlenderExportGUI Class Reference

#include <BlenderExportGUI.h>

Public Slots

void startButton (void)
 
void stopButton (void)
 
void resetButton (void)
 

Signals

void closeSignal (void *widget)
 
- Signals inherited from mars::main_gui::BaseWidget
void hideSignal (void)
 
void closeSignal (void)
 

Public Member Functions

 BlenderExportGUI (interfaces::ControlCenter *c, main_gui::GuiInterface *gui)
 
 ~BlenderExportGUI ()
 
virtual void writeGenericData (unsigned long id, void *data) const
 
void receiveData (const mars::data_broker::DataInfo &info, const mars::data_broker::DataPackage &data_package, int callbackParam)
 The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More...
 
- Public Member Functions inherited from mars::main_gui::BaseWidget
 BaseWidget (QWidget *parent, cfg_manager::CFGManagerInterface *_cfg, std::string _widgetName)
 
 ~BaseWidget ()
 
virtual void cfgUpdateProperty (cfg_manager::cfgPropertyStruct _property)
 
void setHiddenCloseState (bool v)
 
bool getHiddenCloseState ()
 
void show ()
 
void hide ()
 
bool isHidden ()
 
void saveState ()
 
const std::string & getName ()
 
- Public Member Functions inherited from mars::cfg_manager::CFGClient
 CFGClient ()
 
virtual ~CFGClient ()
 
virtual void cfgParamCreated (cfgParamId _id)
 
virtual void cfgParamRemoved (cfgParamId _id)
 
- Public Member Functions inherited from mars::main_gui::PropertyCallback
virtual ~PropertyCallback ()
 Destructor. More...
 
virtual void valueChanged (QtProperty *property, const QVariant &value)
 Called every time a property has changed its value. More...
 
virtual void topLevelItemChanged (QtProperty *current)
 Called every time another branch of a QtTreePropertyBrowser has been selected. More...
 
virtual void accept ()
 Associated with the OK button of the Property Dialog. More...
 
virtual void reject ()
 Associated with the Cancel button of the Property Dialog. More...
 
- Public Member Functions inherited from mars::data_broker::ReceiverInterface
 ReceiverInterface ()
 
virtual ~ReceiverInterface ()
 

Public Attributes

main_gui::PropertyDialogpDialog
 

Protected Slots

virtual void valueChanged (QtProperty *property, const QVariant &value)
 

Private Member Functions

void closeEvent (QCloseEvent *event)
 

Private Attributes

interfaces::ControlCentercontrol
 
main_gui::GuiInterfacemainGui
 
unsigned long frame
 
int state
 
FILE * fileHandle
 
unsigned long generic_id
 
std::string rPath
 
QtVariantProperty * status
 
QtVariantProperty * filename
 

Additional Inherited Members

- Protected Member Functions inherited from mars::main_gui::BaseWidget
void changeEvent (QEvent *ev)
 
void cfgWindow (void)
 
void applyGeometry ()
 
void hideEvent (QHideEvent *event)
 
void closeEvent (QCloseEvent *event)
 
- Protected Attributes inherited from mars::main_gui::BaseWidget
cfg_manager::CFGManagerInterfacecfg
 
bool setWindowProp
 
bool hiddenState
 

Detailed Description

Definition at line 47 of file BlenderExportGUI.h.

Constructor & Destructor Documentation

◆ BlenderExportGUI()

mars::gui::BlenderExportGUI::BlenderExportGUI ( interfaces::ControlCenter c,
main_gui::GuiInterface gui 
)

Definition at line 33 of file BlenderExportGUI.cpp.

◆ ~BlenderExportGUI()

mars::gui::BlenderExportGUI::~BlenderExportGUI ( void  )

Definition at line 71 of file BlenderExportGUI.cpp.

Member Function Documentation

◆ closeEvent()

void mars::gui::BlenderExportGUI::closeEvent ( QCloseEvent *  event)
private

Definition at line 160 of file BlenderExportGUI.cpp.

◆ closeSignal

void mars::gui::BlenderExportGUI::closeSignal ( void *  widget)
signal

◆ receiveData()

void mars::gui::BlenderExportGUI::receiveData ( const mars::data_broker::DataInfo info,
const mars::data_broker::DataPackage dataPackage,
int  callbackParam 
)
virtual

The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.

Parameters
infoInformation about the DataPackage.
dataPackageThe DataPackage containing all the data.
callbackParamThe int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations.

Implements mars::data_broker::ReceiverInterface.

Definition at line 126 of file BlenderExportGUI.cpp.

◆ resetButton

void mars::gui::BlenderExportGUI::resetButton ( void  )
slot

Definition at line 120 of file BlenderExportGUI.cpp.

◆ startButton

void mars::gui::BlenderExportGUI::startButton ( void  )
slot

Definition at line 88 of file BlenderExportGUI.cpp.

◆ stopButton

void mars::gui::BlenderExportGUI::stopButton ( void  )
slot

Definition at line 111 of file BlenderExportGUI.cpp.

◆ valueChanged

void mars::gui::BlenderExportGUI::valueChanged ( QtProperty *  property,
const QVariant &  value 
)
protectedvirtualslot

Definition at line 78 of file BlenderExportGUI.cpp.

◆ writeGenericData()

void mars::gui::BlenderExportGUI::writeGenericData ( unsigned long  id,
void *  data 
) const
virtual

Definition at line 132 of file BlenderExportGUI.cpp.

Member Data Documentation

◆ control

interfaces::ControlCenter* mars::gui::BlenderExportGUI::control
private

Definition at line 72 of file BlenderExportGUI.h.

◆ fileHandle

FILE* mars::gui::BlenderExportGUI::fileHandle
private

Definition at line 76 of file BlenderExportGUI.h.

◆ filename

QtVariantProperty* mars::gui::BlenderExportGUI::filename
private

Definition at line 82 of file BlenderExportGUI.h.

◆ frame

unsigned long mars::gui::BlenderExportGUI::frame
mutableprivate

Definition at line 74 of file BlenderExportGUI.h.

◆ generic_id

unsigned long mars::gui::BlenderExportGUI::generic_id
private

Definition at line 77 of file BlenderExportGUI.h.

◆ mainGui

main_gui::GuiInterface* mars::gui::BlenderExportGUI::mainGui
private

Definition at line 73 of file BlenderExportGUI.h.

◆ pDialog

main_gui::PropertyDialog* mars::gui::BlenderExportGUI::pDialog

Definition at line 58 of file BlenderExportGUI.h.

◆ rPath

std::string mars::gui::BlenderExportGUI::rPath
private

Definition at line 78 of file BlenderExportGUI.h.

◆ state

int mars::gui::BlenderExportGUI::state
private

Definition at line 75 of file BlenderExportGUI.h.

◆ status

QtVariantProperty* mars::gui::BlenderExportGUI::status
private

Definition at line 80 of file BlenderExportGUI.h.


The documentation for this class was generated from the following files: