/*****
* drawgroup.h
* John Bowman
*
* Group elements in a picture to be deconstructed as a single object.
*****/
#ifndef DRAWGROUP_H
#define DRAWGROUP_H
#include "drawelement.h"
namespace camp {
class drawBegin : public drawElement {
public:
drawBegin() {}
virtual ~drawBegin() {}
bool begingroup() {return true;}
};
class drawEnd : public drawElement {
public:
drawEnd() {}
virtual ~drawEnd() {}
bool endgroup() {return true;}
};
class drawBegin3 : public drawElementLC {
string name;
double compression;
double granularity;
bool closed; // render the surface as one-sided; may yield faster rendering
bool tessellate; // use tessellated mesh to store straight patches
bool dobreak; // force breaking
bool nobreak; // force grouping for transparent patches