igor::iNodeVisitorRenderBoundings Class Reference

#include <iNodeVisitorRenderBoundings.h>

Inherits igor::iNodeVisitor.

Public Member Functions

 iNodeVisitorRenderBoundings ()=default
 
virtual ~iNodeVisitorRenderBoundings ()=default
 
- Public Member Functions inherited from igor::iNodeVisitor
 iNodeVisitor ()=default
 
virtual ~iNodeVisitor ()=default
 
void setTraverseInactiveChildren (bool traverseInactive=true)
 
void setTraverseSiblings (bool traverseSiblings=true)
 
void traverseTree (iNodePtr node)
 

Protected Member Functions

void preTraverse () override
 
bool preOrderVisit (iNodePtr node, iNodePtr nextSibling) override
 
void postOrderVisit (iNodePtr node) override
 
void postTraverse () override
 
virtual void preTraverse ()=0
 
virtual bool preOrderVisit (iNodePtr node, iNodePtr nextSibling)=0
 
virtual void postOrderVisit (iNodePtr node)=0
 
virtual void postTraverse ()=0
 

Detailed Description

traveses node tree and renders bounding boxes

Constructor & Destructor Documentation

◆ iNodeVisitorRenderBoundings()

igor::iNodeVisitorRenderBoundings::iNodeVisitorRenderBoundings ( )
default

nothing todo

◆ ~iNodeVisitorRenderBoundings()

virtual igor::iNodeVisitorRenderBoundings::~iNodeVisitorRenderBoundings ( )
virtualdefault

does nothing

Member Function Documentation

◆ postOrderVisit()

void igor::iNodeVisitorRenderBoundings::postOrderVisit ( iNodePtr  node)
overrideprotectedvirtual

restores transformations

Parameters
nodecurrent node

Implements igor::iNodeVisitor.

◆ postTraverse()

void igor::iNodeVisitorRenderBoundings::postTraverse ( )
overrideprotectedvirtual

does nothing

Implements igor::iNodeVisitor.

◆ preOrderVisit()

bool igor::iNodeVisitorRenderBoundings::preOrderVisit ( iNodePtr  node,
iNodePtr  nextSibling 
)
overrideprotectedvirtual

calculates transformations and renders bounding boxes

Parameters
nodecurrent node

Implements igor::iNodeVisitor.

◆ preTraverse()

void igor::iNodeVisitorRenderBoundings::preTraverse ( )
overrideprotectedvirtual

initialisation

Implements igor::iNodeVisitor.


The documentation for this class was generated from the following files: