#include <stl.h>

Public Types | |
| enum | parameterTypes { PAR_TYP_DOUBLE, PAR_TYP_POS_DOUBLE, PAR_TYP_POS_INTEGER, PAR_TYP_SWITCH } |
| parameters can have different type this enum lists all supported types More... | |
Public Member Functions | |
| stlExporter_c (void) | |
| create new exporter, defaults to binary mode active | |
| virtual | ~stlExporter_c (void) |
| void | write (const char *basename, const voxel_c &shape, const faceList_c &holes) |
| This function exports one shape. | |
| virtual unsigned int | numParameters (void) const =0 |
| return the number of parameters for the concrete exporter | |
| virtual const char * | getParameterName (unsigned int idx) const =0 |
| return a text to display to the user about the parameter x | |
| virtual const char * | getParameterTooltip (unsigned int) const |
| get the tooltip text for this parameter | |
| virtual parameterTypes | getParameterType (unsigned int) const |
| get the parameter type for this parameter | |
| virtual double | getParameter (unsigned int idx) const =0 |
| get the value of a parameter | |
| virtual void | setParameter (unsigned int idx, double value)=0 |
| set the value of a parameter | |
| void | setBinaryMode (bool on) |
| select whether to use binary mode or not | |
| bool | getBinaryMode (void) |
| find out if binary mode is active | |
| virtual Polyhedron * | getMesh (const voxel_c &v, const faceList_c &holes) const =0 |
Private Member Functions | |
| stlExporter_c (const stlExporter_c &) | |
| void | operator= (const stlExporter_c &) |
Private Attributes | |
| bool | binaryMode |
| binary STL export active or not | |
| stlExporter_c::stlExporter_c | ( | void | ) | [inline] |
create new exporter, defaults to binary mode active
| virtual stlExporter_c::~stlExporter_c | ( | void | ) | [inline, virtual] |
| stlExporter_c::stlExporter_c | ( | const stlExporter_c & | ) | [private] |
| bool stlExporter_c::getBinaryMode | ( | void | ) | [inline] |
| virtual Polyhedron* stlExporter_c::getMesh | ( | const voxel_c & | v, | |
| const faceList_c & | holes | |||
| ) | const [pure virtual] |
| virtual double stlExporter_c::getParameter | ( | unsigned int | idx | ) | const [pure virtual] |
| virtual const char* stlExporter_c::getParameterName | ( | unsigned int | idx | ) | const [pure virtual] |
return a text to display to the user about the parameter x
Implemented in stlExporter_0_c, and stlExporter_2_c.
| virtual const char* stlExporter_c::getParameterTooltip | ( | unsigned int | ) | const [inline, virtual] |
| virtual parameterTypes stlExporter_c::getParameterType | ( | unsigned int | ) | const [inline, virtual] |
get the parameter type for this parameter
Reimplemented in stlExporter_0_c, and stlExporter_2_c.
References PAR_TYP_DOUBLE.
| virtual unsigned int stlExporter_c::numParameters | ( | void | ) | const [pure virtual] |
return the number of parameters for the concrete exporter
Implemented in stlExporter_0_c, and stlExporter_2_c.
| void stlExporter_c::operator= | ( | const stlExporter_c & | ) | [private] |
| void stlExporter_c::setBinaryMode | ( | bool | on | ) | [inline] |
| virtual void stlExporter_c::setParameter | ( | unsigned int | idx, | |
| double | value | |||
| ) | [pure virtual] |
| void stlExporter_c::write | ( | const char * | basename, | |
| const voxel_c & | shape, | |||
| const faceList_c & | holes | |||
| ) |
bool stlExporter_c::binaryMode [private] |
1.5.8