Generic CAM 0.1-PreAlpha
|
Describes the boundary of the volume to be cut away. More...
#include <ToolPath.h>
Public Member Functions | |
ToolPath () | |
virtual | ~ToolPath () |
ToolPath & | operator+= (const ToolPath &a) |
Overloaded operator for polygon concatenation. | |
const ToolPath | operator+ (const ToolPath &a) const |
Overloaded operator for polygon concatenation. | |
void | Clear (void) |
bool | IsEmpty (void) const |
void | ApplyTransformation (void) |
void | ApplyTransformation (const AffineTransformMatrix &matrix) |
void | Paint (void) |
void | CleanPath (double tolerance=0.0002) |
void | WriteToFile (wxTextFile &f) |
void | CalculateMinMaxValues (void) |
ToolPath () | |
virtual | ~ToolPath () |
void | Generate (Tool const &tool, AffineTransformMatrix const &position1, AffineTransformMatrix const &position2) |
Generate a closed surface of the volume, to be cut away. | |
Public Attributes | |
AffineTransformMatrix | matrix |
Transformation of the data. | |
ArrayOfMachinePosition | positions |
Vector3 | colorMoving |
Vector3 | colorCutting |
MachinePosition | minPosition |
MachinePosition | maxPosition |
Describes the boundary of the volume to be cut away.
#include "ToolPath.h"
ToolPath::ToolPath | ( | ) |
ToolPath::~ToolPath | ( | ) | [virtual] |
ToolPath::ToolPath | ( | ) |
virtual ToolPath::~ToolPath | ( | ) | [virtual] |
void ToolPath::ApplyTransformation | ( | void | ) |
Reimplemented from Geometry.
void ToolPath::ApplyTransformation | ( | const AffineTransformMatrix & | matrix | ) |
Reimplemented from Geometry.
void ToolPath::CalculateMinMaxValues | ( | void | ) |
void ToolPath::CleanPath | ( | double | tolerance = 0.0002 | ) |
void ToolPath::Clear | ( | void | ) |
Reimplemented from Geometry.
void ToolPath::Generate | ( | Tool const & | tool, |
AffineTransformMatrix const & | position0, | ||
AffineTransformMatrix const & | position1 | ||
) |
Generate a closed surface of the volume, to be cut away.
This function generates the surface by splitting the toolshape in several convex part, extruden the parts and merging them all together. This is done to get undercuts and xz- or yz- cuts right.
bool ToolPath::IsEmpty | ( | void | ) | const |
Overloaded operator for polygon concatenation.
Overloaded operator for polygon concatenation.
void ToolPath::Paint | ( | void | ) |
void ToolPath::WriteToFile | ( | wxTextFile & | f | ) |
Transformation of the data.
Reimplemented from Geometry.
ArrayOfMachinePosition ToolPath::positions |