SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::gui Namespace Reference

Namespaces

 hRecorder
 
 qt
 

Classes

class  AddFrameOperation
 
class  AddRecordedCameraOperation
 
class  AddSutureOperation
 
class  AttachOperation
 
class  BaseGUI
 
class  BaseViewer
 
class  BaseViewerArgument
 
class  BatchGUI
 
class  CallBackPicker
 
class  CallBackRender
 
class  ColourPickingVisitor
 
class  ConstraintAttachOperation
 
class  FilesRecentlyOpenedManager
 
class  FixOperation
 
class  GLPickHandler
 
class  GUIManager
 
class  InciseOperation
 
struct  MousePosition
 
class  Operation
 
class  OperationCreator
 
class  OperationFactory
 
class  PickHandler
 
class  RegisterOperation
 
class  StartNavigationOperation
 
class  TOperationCreator
 
class  TopologyOperation
 
class  ViewerQtArgument
 

Enumerations

enum  { BTLEFT_MODE = 101, BTRIGHT_MODE = 102, BTMIDDLE_MODE = 103 }
 
enum  MOUSE_BUTTON { LEFT, MIDDLE, RIGHT, NONE }
 
enum  MOUSE_STATUS { PRESSED, RELEASED, ACTIVATED, DEACTIVATED }
 

Functions

void decodeCollisionElement (const sofa::defaulttype::Vec4f colour, sofa::component::collision::BodyPicked &body)
 
void decodePosition (BodyPicked &body, const sofa::defaulttype::Vec4f colour, const TriangleCollisionModel< sofa::defaulttype::Vec3Types > *model, const unsigned int index)
 
void decodePosition (BodyPicked &body, const sofa::defaulttype::Vec4f, const SphereCollisionModel< sofa::defaulttype::Vec3Types > *model, const unsigned int index)
 
void initMain ()
 necessary to register all the available GUI More...
 

Variables

FileRepository GuiDataRepository ("GUI_DATA_PATH", 0,{{Utils::getSofaPathTo("etc/SofaGuiQt.ini").c_str(),{"RESOURCES_DIR"}}})
 
int BatchGUIClass = GUIManager::RegisterGUI("batch", &BatchGUI::CreateGUI, &BatchGUI::RegisterGUIParameters, -1)
 

Enumeration Type Documentation

anonymous enum
Enumerator
BTLEFT_MODE 
BTRIGHT_MODE 
BTMIDDLE_MODE 
Enumerator
LEFT 
MIDDLE 
RIGHT 
NONE 
Enumerator
PRESSED 
RELEASED 
ACTIVATED 
DEACTIVATED 

Function Documentation

void SOFA_SOFAGUICOMMON_API sofa::gui::decodeCollisionElement ( const sofa::defaulttype::Vec4f  colour,
sofa::component::collision::BodyPicked body 
)
void sofa::gui::decodePosition ( BodyPicked body,
const sofa::defaulttype::Vec4f  colour,
const TriangleCollisionModel< sofa::defaulttype::Vec3Types > *  model,
const unsigned int  index 
)
void sofa::gui::decodePosition ( BodyPicked body,
const sofa::defaulttype::Vec4f  ,
const SphereCollisionModel< sofa::defaulttype::Vec3Types > *  model,
const unsigned int  index 
)
void SOFA_GUIMAIN_API sofa::gui::initMain ( )

necessary to register all the available GUI

Variable Documentation

int sofa::gui::BatchGUIClass = GUIManager::RegisterGUI("batch", &BatchGUI::CreateGUI, &BatchGUI::RegisterGUIParameters, -1)
SOFA_HELPER_API sofa::helper::system::FileRepository sofa::gui::GuiDataRepository