Hide menu
cadex::ModelData_Model::CombinedElementVisitor Class Referenceabstract

Provides combined methods VisitEnter() and VisitLeave() to visit all elements. More...

Inheritance diagram for cadex::ModelData_Model::CombinedElementVisitor:
cadex::ModelData_Model::ElementVisitor

Public Member Functions

virtual void operator() (const ModelData_Part &thePart)
 
virtual bool VisitEnter (const ModelData_Assembly &theAssembly)
 
virtual void VisitLeave (const ModelData_Assembly &theAssembly)
 
virtual bool VisitEnter (const ModelData_Instance &theInstance)
 
virtual void VisitLeave (const ModelData_Instance &theInstance)
 
virtual bool VisitEnter (const ModelData_SceneGraphElement &theElement)=0
 
virtual void VisitLeave (const ModelData_SceneGraphElement &theElement)
 

Detailed Description

Provides combined methods VisitEnter() and VisitLeave() to visit all elements.

This is a convenience class allowing to redefine a single method VisitEnter() in the subclasses.

Examples:
exploring/appearance/main.cxx, exploring/layers/main.cxx, exploring/propertytable/main.cxx, visualization/qtquick_qml/pmiviewer/main.cxx, and visualization/qtquick_qml/selectionhandling/main.cxx.

Member Function Documentation

void cadex::ModelData_Model::CombinedElementVisitor::VisitLeave ( const ModelData_SceneGraphElement theElement)
virtual

By default, empty implementation.