SOFA API  38ecbea1
Open source framework for multi-physics simuation
sofa::simulation::Visitor::VisitorContext Class Reference

#include <Visitor.h>

Public Attributes

simulation::Noderoot
 root node from which the visitor was executed More...
 
simulation::Nodenode
 current node More...
 
SReal * nodeData
 SReal value associated with this subtree. Set to nullptr if node-specific data is not in use. More...
 

Attribute details

◆ node

simulation::Node* sofa::simulation::Visitor::VisitorContext::node

current node

◆ nodeData

SReal* sofa::simulation::Visitor::VisitorContext::nodeData

SReal value associated with this subtree. Set to nullptr if node-specific data is not in use.

◆ root

simulation::Node* sofa::simulation::Visitor::VisitorContext::root

root node from which the visitor was executed