SOFA plugin: SofaSimpleGUI  master
Open source framework for multi-physics simuation
sofa::simplegui Namespace Reference

Classes

class  Camera
 The Camera class implements a simple viewpoint transformation, and its update using the mouse. Currently only one displacement mode is implemented, and it is not extensively tested. More...
 
class  Interactor
 Base class for all interactors. Interactors are sofa subgraphs used to apply actions to the scene, typically through user interaction. More...
 
struct  PickedPoint
 The PickedPoint struct represents a vertex of a State, typically picked using the mouse. It is returned by the Sofa interface to the user application to set up an interaction. We call it vaild if it corresponds to a valid index of an existing mechanical state, and invalid if not so (the pointer to the mechanical state is null) More...
 
class  SofaGL
 
class  SofaScene
 A sofa scene graph with simulation functions. More...
 
class  SpringInteractor
 Interaction using a spring. An interactor, typically attached to the mouse pointer, pulls a control point using a spring. More...
 
class  VisualPickVisitor
 The VisualPickVisitor class displays the scene for OpenGL picking. It uses the glPushName instruction, and it must be called within a specific OpenGL context, see http://www.lighthouse3d.com/opengl/picking/ The names vector member contains the names of all the objects rendered, in the traversal order. This allows to associate a hit number to an object during the pre-processing. More...
 

Typedefs

typedef sofa::type::Vec3 Vec3
 
typedef sofa::component::statecontainer::MechanicalObject< defaulttype::Vec3TypesVec3DOF
 
typedef sofa::component::constraint::projective::FixedConstraint< sofa::defaulttype::Vec3TypesFixedConstraint3
 
using MechanicalObject3 = sofa::component::statecontainer::MechanicalObject< Vec3Types >
 
using StiffSpringForceField3 = sofa::component::solidmechanics::spring::StiffSpringForceField< Vec3Types >
 

Functions

template<typename T >
sqr (const T &t)
 

Typedef Documentation

◆ FixedConstraint3

typedef sofa::component::constraint::projective::FixedConstraint<sofa::defaulttype::Vec3Types> sofa::simplegui::FixedConstraint3

◆ MechanicalObject3

◆ StiffSpringForceField3

◆ Vec3

◆ Vec3DOF

Function Documentation

◆ sqr()

template<typename T >
T sofa::simplegui::sqr ( const T &  t)
inline