SOFA Documentation
Create your scene in Cpp
Initializing search
sofa-framework/sofa
SOFA Documentation
sofa-framework/sofa
Getting Started
Getting Started
Binaries
Binaries
Binaries instructions
Build
Build
Linux
MacOS
Windows
Build Options
Activate Plugins
Video Tutorials
Video Tutorials
How to compile SOFA
How to compile a plugin
Introduction course
Step by Step
Using SOFA
Using SOFA
Terminology
SceneChecking
runSofa
runSofa with ImGui
runSofa with Qt
Create your scene in XML
Create your scene in Cpp
SOFA-NG migration
Inspect components
Interact with the mouse
Use SOFA in Matlab
Performances
Performances
Inspect performances
Improve performances
Simulation Principles
Simulation Principles
Scene Graph
Animation Loop
Visitors
MechanicalObject
Topology
Engine
Example-Simple Body
System Resolution
System Resolution
Integration Scheme
Linear Solver
Multi-Model Representation
Multi-Model Representation
Physics integration
Mass
ForceField
Collision
Visual Model
Mapping
Constraint
Constraint
Projective Constraint
Lagrange Constraint
Components
Components
AnimationLoop
AnimationLoop
DefaultAnimationLoop
MultiStepAnimationLoop
FreeMotionAnimationLoop
Collision
Collision
Detection
Detection
Algorithm
Algorithm
CollisionPipeline
BroadPhase
BruteForceBroadPhase
DefaultPipeline
Detection Sweep and Prune
Detection SAP Incremental
NarrowPhase
BVHNarrowPhase
DirectSAPNarrowPhase
RayTraceNarrowPhase
Intersection
Intersection
IntersectionMethod
MinProximityIntersection
LocalMinDistance
Geometry
Geometry
CollisionModels
CollisionGroupManagers
CollisionGroupManagers
CollisionGroupManager
Constraint
Constraint
Projective
Projective
AttachProjectiveConstraint
FixedProjectiveConstraint
Lagrangian
Lagrangian
Model
Model
BilateralLagrangianConstraint
UnilateralLagrangianConstraint
FixedLagrangianConstraint
Engine
Engine
TextureInterpolation
Generate
Generate
Vertex2Frame
Select
Select
ROI Selection
SubsetTopology
Transform
Transform
TransformEngine
TransformPosition
SolidMechanics
SolidMechanics
FEM
FEM
HyperElastic
HyperElastic
TetrahedronHyperelasticityFEMForceField
Spring
Spring
PolynomialSpringsForceField
MechanicalLoad
MechanicalLoad
ConicalForceField
ConstantForceField
ODESolver
ODESolver
Forward
Forward
EulerExplicitSolver
Backward
Backward
EulerImplicitSolver
StaticSolver
NewmarkImplicitSolver
BDFOdeSolver
NewtonRaphsonSolver
LinearSolver
LinearSolver
Iterative
Iterative
CGLinearSolver
Preconditioned CG
Direct
Direct
SparseCholeskySolver
SparseLDLSolver
AsyncSparseLDLSolver
SparseLUSolver
IO
IO
Mesh
Mesh
MeshGmshLoader
MeshOBJLoader
MeshOffLoader
MeshSTLLoader
MeshVTKLoader
VTKExport
Mapping
Mapping
Linear
Linear
IdentityMapping
NonLinear
NonLinear
AreaMapping
SquareMapping
VolumeMapping
Mass
Mass
UniformMass
MeshMatrixMass
DiagonalMass
Rendering
Rendering
Different Viewports
Shaders
Shadowing
Lighting
Visual
Visual
VisualStyle
UI
UI
Customizing the UI
Recorded Camera
GUI
GUI
AddFrameButtonSetting
AddRecordedCameraButtonSetting
AttachBodyButtonSetting
ConstraintAttachButtonSetting
FixPickedParticleButtonSetting
MouseInteractor
StartNavigationButtonSetting
Rendering2D
Rendering2D
OglColorMap
OglLabel
OglViewport
Rendering3D
Rendering3D
ClipPlane
DataDisplay
MergeVisualModels
OglModel
OglSceneFrame
PointSplatModel
SlicedVolumetricModel
Shader
Shader
CompositingVisualLoop
DirectionalLight
LightManager
OglFloat2Attribute
OglFloat2Variable
OglFloat3Attribute
OglFloat3Variable
OglFloat4Attribute
OglFloat4Variable
OglFloatAttribute
OglFloatVariable
OglFloatVector2Variable
OglFloatVector3Variable
OglFloatVector4Variable
OglFloatVectorVariable
OglInt2Attribute
OglInt2Variable
OglInt3Attribute
OglInt3Variable
OglInt4Attribute
OglInt4Variable
OglIntAttribute
OglIntVariable
OglIntVector2Variable
OglIntVector3Variable
OglIntVector4Variable
OglIntVectorVariable
OglMatrix2Variable
OglMatrix2x3Variable
OglMatrix2x4Variable
OglMatrix3Variable
OglMatrix3x2Variable
OglMatrix3x4Variable
OglMatrix4Variable
OglMatrix4VectorVariable
OglMatrix4x2Variable
OglMatrix4x3Variable
OglOITShader
OglRenderingSRGB
OglShader
OglShaderDefineMacro
OglShaderVisualModel
OglShadowShader
OglTexture
OglTexture2D
OglTexturePointer
OglUInt2Attribute
OglUInt3Attribute
OglUInt4Attribute
OglUIntAttribute
OrderIndependentTransparencyManager
PositionalLight
PostProcessManager
SpotLight
VisualManagerPass
VisualManagerSecondaryPass
Plugins
Plugins
What is a plugin
Build a plugin from sources
Fetch plugin code source
Use a plugin binaries
Create your plugin
Suported Plugins List
Usual plugins
Usual plugins
CGAL library
Python scripting
Using CUDA
Sensable
Xitact
HAPI
Geomagic
SofaCarving
MultiThreading
ArticulatedSystemPlugin
ArticulatedSystemPlugin
ArticulatedSystemMapping
ArticulatedHierarchyBVHController
ArticulatedHierarchyContainer
ArticulatedHierarchyController
Articulation
ArticulationCenter
BeamAdapter
BeamAdapter
AdaptiveBeamController
AdaptiveBeamForceFieldAndMass
AdaptiveBeamLengthConstraint
AdaptiveBeamMapping
AdaptiveBeamSlidingConstraint
AdaptiveInflatableBeamForceField
BeamAdapterActionController
BeamInterpolation
BeamLengthMapping
BeamProjectionDifferenceMultiMapping
InterventionalRadiologyController
MultiAdaptiveBeamMapping
RodMeshSection
RodSpireSection
RodStraightSection
SutureController
WireBeamInterpolation
WireRestShape
CSparseSolvers
CSparseSolvers
SparseCholeskySolver
SparseLUSolver
Geomagic
Geomagic
GeomagicDriver
GeomagicEmulator
ManifoldTopologies
ManifoldTopologies
ManifoldEdgeSetGeometryAlgorithms
ManifoldEdgeSetTopologyContainer
ManifoldEdgeSetTopologyModifier
ManifoldTetrahedronSetTopologyContainer
ManifoldTriangleSetGeometryAlgorithms
ManifoldTriangleSetTopologyContainer
ManifoldTriangleSetTopologyModifier
MultiThreading
MultiThreading
AnimationLoopParallelScheduler
BeamLinearMapping mt
DataExchange
MeanComputation
ParallelBVHNarrowPhase
ParallelBruteForceBroadPhase
ParallelCGLinearSolver
ParallelHexahedronFEMForceField
ParallelMeshSpringForceField
ParallelSpringForceField
ParallelStiffSpringForceField
ParallelTetrahedronFEMForceField
PluginExample
PluginExample
MyBehaviorModel
MyMappingPendulumInPlane
MyProjectiveConstraintSet
MyVisualModel
Registration
Registration
ClosestPointRegistrationForceField
GroupwiseRegistrationEngine
InertiaAlign
RegistrationContactForceField
RegistrationExporter
SofaCarving
SofaCarving
CarvingManager
SofaEulerianFluid
SofaEulerianFluid
Fluid2D
Fluid3D
SofaImplicitField
SofaImplicitField
BottleField
DiscreteGridField
FieldToSurfaceMesh
ImplicitSurfaceMapping
InterpolatedImplicitSurface
SphericalField
StarShapedField
SofaMatrix
SofaMatrix
ComplianceMatrixExporter
ComplianceMatrixImage
FillReducingOrdering
GlobalSystemMatrixExporter
GlobalSystemMatrixImage
SofaSphFluid
SofaSphFluid
OglFluidModel
ParticleSink
ParticleSource
ParticlesRepulsionForceField
SPHFluidForceField
SPHFluidSurfaceMapping
SpatialGridContainer
SpatialGridPointModel
SoftRobots
SoftRobots
AnimationEditor
CableConstraint
CenterOfMass
DataVariationLimiter
JointConstraint
PREquivalentStiffnessForceField
PartialRigidificationConstraint
PartialRigidificationForceField
PipeForceField
PositionConstraint
SerialPortBridgeGeneric
SurfacePressureConstraint
UnilateralPlaneConstraint
VolumetricRendering
VolumetricRendering
OglTetrahedralModel
OglVolumetricModel
image
image
CollisionToCarvingEngine
DepthMapToMeshEngine
GenerateImage
ImageAccumulator
ImageContainer
ImageCoordValuesFromPositions
ImageDataDisplay
ImageExporter
ImageFilter
ImageOperation
ImageSampler
ImageToRigidMassEngine
ImageTransform
ImageTransformEngine
ImageValuesFromPositions
ImageViewer
MarchingCubesEngine
MergeImages
MeshToImageEngine
TransferFunction
VoronoiToMeshEngine
Programming with SOFA
Programming with SOFA
Guidelines
SOFA packages
Create your plugin
Create your component
Create your engine
Create your scene in Cpp
Create your binaries
API overview
API overview
Components in SOFA
Data in components
DataTypes
Forward declaration
Create links
The ObjectFactory
Matrix assembly API
Message API
Events in SOFA
Pause the animation
Advanced Timer
Macro for DLL import export
Macro for deprecation
Contributing to SOFA
Contributing to SOFA
Contributing
Writing tests
Writing doc
Continuous integration
Lifecycle mechanisms
Add your paper on HAL
Create your scene in Cpp
See
Programming with SOFA > Create your scene in C++
.