SOFA API  1e111313
Open source framework for multi-physics simuation
sofa::component::visualmodel::VisualOITDrawVisitor Class Reference
Inheritance diagram for sofa::component::visualmodel::VisualOITDrawVisitor:

Public Attributes

- Public Attributes inherited from sofa::simulation::VisualDrawVisitor
bool hasShader
- Public Attributes inherited from sofa::simulation::Visitor
TagSet subsetsToManage
 list of the subsets More...
bool canAccessSleepingNode
 Can the visitor access sleeping nodes? More...

Public Member Functions

 VisualOITDrawVisitor (core::visual::VisualParams *params, GLSLShader *oitShader)
void processVisualModel (simulation::Node *node, core::visual::VisualModel *vm) override
- Public Member Functions inherited from sofa::simulation::VisualDrawVisitor
 VisualDrawVisitor (core::visual::VisualParams *params)
Result processNodeTopDown (simulation::Node *node) override
 Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE. More...
void processNodeBottomUp (simulation::Node *node) override
 Callback method called after child node have been processed and before going back to the parent node. More...
virtual void fwdVisualModel (simulation::Node *node, core::visual::VisualModel *vm)
void processVisualModel (simulation::Node *node, core::visual::VisualModel *vm) override
void processObject (simulation::Node *node, core::objectmodel::BaseObject *o) override
virtual void bwdVisualModel (simulation::Node *node, core::visual::VisualModel *vm)
const char * getClassName () const override
- Public Member Functions inherited from sofa::simulation::VisualVisitor
 VisualVisitor (core::visual::VisualParams *params)
const char * getCategoryName () const override
bool treeTraversal (TreeTraversalRepetition &repeat) override
 visual visitor must be executed as a tree, such as forward and backward orders are coherent More...
- Public Member Functions inherited from sofa::simulation::Visitor
 Visitor (const core::ExecParams *params)
virtual ~Visitor ()
const core::ExecParamsexecParams () const
virtual bool childOrderReversed (simulation::Node *)
 Return true to reverse the order of traversal of child nodes. More...
virtual std::string getInfos () const
void debug_write_state_before (core::objectmodel::BaseObject *)
void debug_write_state_after (core::objectmodel::BaseObject *)
template<class Visit , class VContext , class Container , class Object >
void for_each (Visit *visitor, VContext *ctx, const Container &list, void(Visit::*fn)(VContext *, Object *))
 Helper method to enumerate objects in the given list. The callback gets the pointer to node. More...
template<class Visit , class VContext , class Container , class Object >
Visitor::Result for_each_r (Visit *visitor, VContext *ctx, const Container &list, Visitor::Result(Visit::*fn)(VContext *, Object *))
 Helper method to enumerate objects in the given list. The callback gets the pointer to node. More...
bool testTags (core::objectmodel::BaseObject *obj)
virtual void execute (core::objectmodel::BaseContext *node, bool precomputedOrder=false)
 Alias for context->executeVisitor(this) More...
virtual ctime_t begin (simulation::Node *node, core::objectmodel::BaseObject *obj, const std::string &typeInfo=std::string("type"))
virtual void end (simulation::Node *node, core::objectmodel::BaseObject *obj, ctime_t t0)
ctime_t begin (simulation::Visitor::VisitorContext *node, core::objectmodel::BaseObject *obj, const std::string &typeInfo=std::string("type"))
void end (simulation::Visitor::VisitorContext *node, core::objectmodel::BaseObject *obj, ctime_t t0)
virtual bool isThreadSafe () const
 Specify whether this visitor can be parallelized. More...
virtual Result processNodeTopDown (simulation::Node *node, LocalStorage *)
virtual void processNodeBottomUp (simulation::Node *node, LocalStorage *)
VisitorsetTags (const TagSet &t)
VisitoraddTag (Tag t)
VisitorremoveTag (Tag t)

Additional Inherited Members

- Protected Attributes inherited from sofa::simulation::VisualVisitor
- Protected Attributes inherited from sofa::simulation::Visitor
const core::ExecParamsparams

Attribute details

GLSLShader* sofa::component::visualmodel::VisualOITDrawVisitor::shader

Constructor details

sofa::component::visualmodel::VisualOITDrawVisitor::VisualOITDrawVisitor ( core::visual::VisualParams params,
GLSLShader oitShader 

Function details

void sofa::component::visualmodel::VisualOITDrawVisitor::processVisualModel ( simulation::Node node,
core::visual::VisualModel vm