Hide menu
Loading...
Searching...
No Matches
cadex::ModelData_PolyRepresentation::Provider Class Referenceabstract

Provides polygonal representation. More...

#include <cadex/ModelData_PolyRepresentation.hxx>

Inheritance diagram for cadex::ModelData_PolyRepresentation::Provider:
cadex::ModelData_BRepTriangulationProvider

Public Member Functions

virtual ~Provider ()
 Destructor.
 
virtual void Feed (ModelData_PolyRepresentation &theRepresentation) const =0
 Feeds the representation.
 

Detailed Description

Provides polygonal representation.

Used to defer construction of the polygonal representation and thereby to reduce peak memory footprint.

This is similar to ModelData_BRepRepresentation::Provider. Refer to it for details.

Constructor & Destructor Documentation

◆ ~Provider()

cadex::ModelData_PolyRepresentation::Provider::~Provider ( )
virtual

Destructor.

Empty destructor.

Member Function Documentation

◆ Feed()

cadex::ModelData_PolyRepresentation::Provider::Feed ( ModelData_PolyRepresentation theRepresentation) const
pure virtual

Feeds the representation.

Computes the poly shapes that would be stored in the representation.

Subclasses must redefine this method to call Add() of theRepresentation.

Implemented in cadex::ModelData_BRepTriangulationProvider.