Hide menu
cadex::ModelData_Layer::ItemVisitor Class Referenceabstract

Defines a visitor of the layer elements. More...

Public Member Functions

virtual void operator() (const ModelData_SceneGraphElement &theSGE)=0
 Applied for every scene graph element inside layer.
 
virtual void operator() (const ModelData_Shape &theShape, const ModelData_BRepRepresentation &theRep)=0
 Applied for every shape element inside layer. More...
 

Detailed Description

Defines a visitor of the layer elements.

Examples
exploring/layers/main.cxx.

Member Function Documentation

◆ operator()()

void cadex::ModelData_Layer::ItemVisitor::operator() ( const ModelData_Shape theShape,
const ModelData_BRepRepresentation theRep 
)
pure virtual

Applied for every shape element inside layer.

Parameters
theRepBRep representation theShape belongs to.