#include <stl_0.h>
Public Member Functions | |
stlExporter_0_c (void) | |
virtual Polyhedron * | getMesh (const voxel_c &v, const faceList_c &holes) const |
virtual unsigned int | numParameters (void) const |
return the number of parameters for the concrete exporter | |
virtual const char * | getParameterName (unsigned int idx) const |
return a text to display to the user about the parameter x | |
virtual double | getParameter (unsigned int idx) const |
get the value of a parameter | |
virtual void | setParameter (unsigned int idx, double value) |
set the value of a parameter | |
virtual const char * | getParameterTooltip (unsigned int idx) const |
get the tooltip text for this parameter | |
virtual parameterTypes | getParameterType (unsigned int idx) const |
get the parameter type for this parameter | |
Private Member Functions | |
stlExporter_0_c (const stlExporter_0_c &) | |
void | operator= (const stlExporter_0_c &) |
Private Attributes | |
double | bevel |
double | cube_scale |
double | shrink |
double | hole |
double | tubes |
bool | leaveGroovesInside |
bool | leaveGroovesOutside |
bool | smoothVoid |
stlExporter_0_c::stlExporter_0_c | ( | void | ) | [inline] |
stlExporter_0_c::stlExporter_0_c | ( | const stlExporter_0_c & | ) | [private] |
Polyhedron * stlExporter_0_c::getMesh | ( | const voxel_c & | v, | |
const faceList_c & | holes | |||
) | const [virtual] |
Implements stlExporter_c.
References bevel, voxel_c::countState(), cube_scale, Epsilon, voxel_c::getMesh(), hole, leaveGroovesInside, leaveGroovesOutside, voxel_c::meshParamsValid(), shrink, smoothVoid, tubes, and voxel_c::VX_VARIABLE.
double stlExporter_0_c::getParameter | ( | unsigned int | idx | ) | const [virtual] |
get the value of a parameter
Implements stlExporter_c.
References bevel, cube_scale, hole, leaveGroovesInside, leaveGroovesOutside, shrink, smoothVoid, and tubes.
const char * stlExporter_0_c::getParameterName | ( | unsigned int | idx | ) | const [virtual] |
const char * stlExporter_0_c::getParameterTooltip | ( | unsigned int | ) | const [virtual] |
stlExporter_c::parameterTypes stlExporter_0_c::getParameterType | ( | unsigned int | ) | const [virtual] |
get the parameter type for this parameter
Reimplemented from stlExporter_c.
References stlExporter_c::PAR_TYP_POS_DOUBLE, and stlExporter_c::PAR_TYP_SWITCH.
virtual unsigned int stlExporter_0_c::numParameters | ( | void | ) | const [inline, virtual] |
void stlExporter_0_c::operator= | ( | const stlExporter_0_c & | ) | [private] |
void stlExporter_0_c::setParameter | ( | unsigned int | idx, | |
double | value | |||
) | [virtual] |
set the value of a parameter
Implements stlExporter_c.
References bevel, cube_scale, hole, leaveGroovesInside, leaveGroovesOutside, shrink, smoothVoid, and tubes.
double stlExporter_0_c::bevel [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_0_c::cube_scale [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_0_c::hole [private] |
Referenced by getMesh(), getParameter(), and setParameter().
bool stlExporter_0_c::leaveGroovesInside [private] |
Referenced by getMesh(), getParameter(), and setParameter().
bool stlExporter_0_c::leaveGroovesOutside [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_0_c::shrink [private] |
Referenced by getMesh(), getParameter(), and setParameter().
bool stlExporter_0_c::smoothVoid [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_0_c::tubes [private] |
Referenced by getMesh(), getParameter(), and setParameter().