#include <stl_2.h>
Public Member Functions | |
stlExporter_2_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_2_c (const stlExporter_2_c &) | |
void | operator= (const stlExporter_2_c &) |
Private Attributes | |
double | sphere_rad |
double | offset |
double | round |
double | connection_rad |
double | recursion |
double | inner_rad |
double | hole_diam |
bool | square_hole |
stlExporter_2_c::stlExporter_2_c | ( | void | ) | [inline] |
stlExporter_2_c::stlExporter_2_c | ( | const stlExporter_2_c & | ) | [private] |
Polyhedron * stlExporter_2_c::getMesh | ( | const voxel_c & | v, | |
const faceList_c & | holes | |||
) | const [virtual] |
Implements stlExporter_c.
References bt_assert, connection_rad, voxel_c::countState(), Epsilon, voxel_2_c::getMesh(), hole_diam, inner_rad, offset, recursion, round, sphere_rad, square_hole, and voxel_c::VX_VARIABLE.
double stlExporter_2_c::getParameter | ( | unsigned int | idx | ) | const [virtual] |
get the value of a parameter
Implements stlExporter_c.
References connection_rad, hole_diam, inner_rad, offset, recursion, round, sphere_rad, and square_hole.
const char * stlExporter_2_c::getParameterName | ( | unsigned int | idx | ) | const [virtual] |
const char * stlExporter_2_c::getParameterTooltip | ( | unsigned int | ) | const [virtual] |
stlExporter_c::parameterTypes stlExporter_2_c::getParameterType | ( | unsigned int | ) | const [virtual] |
get the parameter type for this parameter
Reimplemented from stlExporter_c.
References stlExporter_c::PAR_TYP_DOUBLE, stlExporter_c::PAR_TYP_POS_DOUBLE, stlExporter_c::PAR_TYP_POS_INTEGER, and stlExporter_c::PAR_TYP_SWITCH.
virtual unsigned int stlExporter_2_c::numParameters | ( | void | ) | const [inline, virtual] |
void stlExporter_2_c::operator= | ( | const stlExporter_2_c & | ) | [private] |
void stlExporter_2_c::setParameter | ( | unsigned int | idx, | |
double | value | |||
) | [virtual] |
set the value of a parameter
Implements stlExporter_c.
References connection_rad, hole_diam, inner_rad, offset, recursion, round, sphere_rad, and square_hole.
double stlExporter_2_c::connection_rad [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_2_c::hole_diam [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_2_c::inner_rad [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_2_c::offset [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_2_c::recursion [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_2_c::round [private] |
Referenced by getMesh(), getParameter(), and setParameter().
double stlExporter_2_c::sphere_rad [private] |
Referenced by getMesh(), getParameter(), and setParameter().
bool stlExporter_2_c::square_hole [private] |
Referenced by getMesh(), getParameter(), and setParameter().