SOFA API  ca70b0f0
Open source framework for multi-physics simuation
sofa::gui::common Namespace Reference

Classes

class  ArgumentParser
 
class  BaseGUI
 
class  BaseViewer
 
class  ColourPickingVisitor
 
class  FilesRecentlyOpenedManager
 
class  GUIManager
 
struct  MousePosition
 
class  Operation
 
class  AttachOperation
 
class  ConstraintAttachOperation
 
class  FixOperation
 
class  AddFrameOperation
 
class  AddRecordedCameraOperation
 
class  StartNavigationOperation
 
class  InciseOperation
 
class  TopologyOperation
 
class  AddSutureOperation
 
class  OperationCreator
 
class  TOperationCreator
 
class  OperationFactory
 
class  RegisterOperation
 
class  CallBackPicker
 
class  CallBackRender
 
class  PickHandler
 
class  BaseViewerArgument
 
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 RGBAColor &colour, BodyPicked &body)
 
void decodePosition (BodyPicked &body, const RGBAColor &colour, const TriangleCollisionModel< sofa::defaulttype::Vec3Types > *model, const unsigned int index)
 
void decodePosition (BodyPicked &body, const RGBAColor &colour, const SphereCollisionModel< sofa::defaulttype::Vec3Types > *model, const unsigned int index)
 
void decodeCollisionElement (const sofa::type::Vec4f &colour, sofa::gui::component::performer::BodyPicked &body)=delete
 
void decodePosition (sofa::gui::component::performer::BodyPicked &body, const sofa::type::Vec4f &colour, const sofa::component::collision::geometry::TriangleCollisionModel< sofa::defaulttype::Vec3Types > *model, const unsigned int index)=delete
 
void decodePosition (sofa::gui::component::performer::BodyPicked &body, const sofa::type::Vec4f &colour, const sofa::component::collision::geometry::SphereCollisionModel< sofa::defaulttype::Vec3Types > *model, const unsigned int index)=delete
 
void init ()
 

Variables

FileRepository GuiDataRepository ("GUI_DATA_PATH", { Utils::getSofaPathTo("share/sofa/gui/qt") }, { { Utils::getSofaPathTo("etc/Sofa.Gui.Qt.ini").c_str(), {"RESOURCES_DIR"} } })
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BTLEFT_MODE 
BTRIGHT_MODE 
BTMIDDLE_MODE 

◆ MOUSE_BUTTON

Enumerator
LEFT 
MIDDLE 
RIGHT 
NONE 

◆ MOUSE_STATUS

Enumerator
PRESSED 
RELEASED 
ACTIVATED 
DEACTIVATED 

Function Documentation

◆ decodeCollisionElement() [1/2]

void SOFA_GUI_COMMON_API sofa::gui::common::decodeCollisionElement ( const RGBAColor colour,
BodyPicked body 
)

◆ decodeCollisionElement() [2/2]

void sofa::gui::common::decodeCollisionElement ( const sofa::type::Vec4f colour,
sofa::gui::component::performer::BodyPicked body 
)
delete

◆ decodePosition() [1/4]

void SOFA_GUI_COMMON_API sofa::gui::common::decodePosition ( BodyPicked body,
const RGBAColor colour,
const SphereCollisionModel< sofa::defaulttype::Vec3Types > *  model,
const unsigned int  index 
)

◆ decodePosition() [2/4]

void SOFA_GUI_COMMON_API sofa::gui::common::decodePosition ( BodyPicked body,
const RGBAColor colour,
const TriangleCollisionModel< sofa::defaulttype::Vec3Types > *  model,
const unsigned int  index 
)

◆ decodePosition() [3/4]

void sofa::gui::common::decodePosition ( sofa::gui::component::performer::BodyPicked body,
const sofa::type::Vec4f colour,
const sofa::component::collision::geometry::SphereCollisionModel< sofa::defaulttype::Vec3Types > *  model,
const unsigned int  index 
)
delete

◆ decodePosition() [4/4]

void sofa::gui::common::decodePosition ( sofa::gui::component::performer::BodyPicked body,
const sofa::type::Vec4f colour,
const sofa::component::collision::geometry::TriangleCollisionModel< sofa::defaulttype::Vec3Types > *  model,
const unsigned int  index 
)
delete

◆ init()

void SOFA_GUI_COMMON_API sofa::gui::common::init ( )

Variable Documentation

◆ GuiDataRepository

SOFA_GUI_COMMON_API sofa::helper::system::FileRepository sofa::gui::common::GuiDataRepository ( "GUI_DATA_PATH"  ,
{ Utils::getSofaPathTo("share/sofa/gui/qt") }  ,
{ { Utils::getSofaPathTo("etc/Sofa.Gui.Qt.ini").c_str(), {"RESOURCES_DIR"} } }   
)