summaryrefslogtreecommitdiff
path: root/src/PolySetCGALEvaluator.h
blob: 5089e0e050169d893fb03f2c557b549fb40425cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef POLYSETCGALEVALUATOR_H_
#define POLYSETCGALEVALUATOR_H_

#include "PolySetEvaluator.h"

/*!
	This is a PolySet evaluator which uses the CGALEvaluator to support building
	polysets.
*/
class PolySetCGALEvaluator : public PolySetEvaluator
{
public:
	PolySetCGALEvaluator(class CGALEvaluator &CGALEvaluator) : 
		PolySetEvaluator(), cgalevaluator(CGALEvaluator) { }
	virtual ~PolySetCGALEvaluator() { }
	virtual PolySet *evaluatePolySet(const ProjectionNode &node, AbstractPolyNode::render_mode_e);
	virtual PolySet *evaluatePolySet(const DxfLinearExtrudeNode &node, AbstractPolyNode::render_mode_e);
	virtual PolySet *evaluatePolySet(const DxfRotateExtrudeNode &node, AbstractPolyNode::render_mode_e);

private:
	CGALEvaluator &cgalevaluator;
};

#endif
contact: Jan Huwald // Impressum