Generic CAM 0.1-PreAlpha
|
#include <Target.h>
Public Member Functions | |
Target () | |
virtual | ~Target () |
void | ToXml (wxXmlNode *parentNode) |
bool | FromXml (wxXmlNode *node) |
void | InsertObject (Object &object) |
int | NextDir (int sx, int sy, double height, int olddir) |
int | NextDir (int sx, int sy, int olddir) |
const Polygon25 | GeneratePolygon (int sx, int sy, double height) |
const Polygon25 | GeneratePolygon (int sx, int sy) |
const Polygon25 | GenerateConvexOutline (void) |
void | DocumentField (int x, int y, double height) |
void | DocumentField (int x, int y) |
void | GenerateDistanceMap (double height, bool invert=false) |
void | RaiseDistanceMap (double height, bool invert) |
void | FoldLowerDistance (int x, int y, const Target &b) |
bool | FindNextDistance (int &x, int &y) |
bool | IsInsideWorkingArea (int x, int y) |
bool | HasToBeCut (int x, int y) |
bool | HadBeenCut (int x, int y) |
void | MoveInDir (int &x, int &y, int dir) |
int | NextDirReverseDistance (int sx, int sy, int olddir) |
int | NextDirForwardDistance (int sx, int sy, int olddir) |
bool | FindStartCutting (int &x, int &y) |
Polygon25 | FindCut (int &x, int &y) |
double | GetMinLevel (void) |
double | GetMaxUpsideLevel (int &x, int &y) |
void | PolygonDropTarget (Polygon3 &polygon, Target &tool) |
void | PolygonDrop (Polygon3 &polygon, double level) |
void | VectorDrop (double &x, double &y, double &z, double level) |
void | FillOutsidePolygon (Polygon3 &polygon) |
void | SetupDrill (Tool &tool, double diameter, double depth) |
void | AddSupport (Polygon3 &polygon, double distance, double height, double width, double slotWidth) |
void | Simulate (void) |
void | Paint (void) |
Public Attributes | |
Polygon25 | outLine |
Polygon25 | supportLine |
ToolPath | toolpath |
ToolPath | toolpathFlipped |
...
Target::Target | ( | ) |
Target::~Target | ( | ) | [virtual] |
void Target::AddSupport | ( | Polygon3 & | polygon, |
double | distance, | ||
double | height, | ||
double | width, | ||
double | slotWidth | ||
) |
void Target::DocumentField | ( | int | x, |
int | y | ||
) |
void Target::DocumentField | ( | int | x, |
int | y, | ||
double | height | ||
) |
void Target::FillOutsidePolygon | ( | Polygon3 & | polygon | ) |
Polygon25 Target::FindCut | ( | int & | x, |
int & | y | ||
) |
bool Target::FindNextDistance | ( | int & | x, |
int & | y | ||
) |
bool Target::FindStartCutting | ( | int & | x, |
int & | y | ||
) |
void Target::FoldLowerDistance | ( | int | x, |
int | y, | ||
const Target & | b | ||
) |
bool Target::FromXml | ( | wxXmlNode * | node | ) |
const Polygon25 Target::GenerateConvexOutline | ( | void | ) |
void Target::GenerateDistanceMap | ( | double | height, |
bool | invert = false |
||
) |
const Polygon25 Target::GeneratePolygon | ( | int | sx, |
int | sy, | ||
double | height | ||
) |
const Polygon25 Target::GeneratePolygon | ( | int | sx, |
int | sy | ||
) |
double Target::GetMaxUpsideLevel | ( | int & | x, |
int & | y | ||
) |
double Target::GetMinLevel | ( | void | ) |
bool Target::HadBeenCut | ( | int | x, |
int | y | ||
) |
bool Target::HasToBeCut | ( | int | x, |
int | y | ||
) |
void Target::InsertObject | ( | Object & | object | ) |
bool Target::IsInsideWorkingArea | ( | int | x, |
int | y | ||
) |
void Target::MoveInDir | ( | int & | x, |
int & | y, | ||
int | dir | ||
) |
int Target::NextDir | ( | int | sx, |
int | sy, | ||
double | height, | ||
int | olddir | ||
) |
int Target::NextDir | ( | int | sx, |
int | sy, | ||
int | olddir | ||
) |
int Target::NextDirForwardDistance | ( | int | sx, |
int | sy, | ||
int | olddir | ||
) |
int Target::NextDirReverseDistance | ( | int | sx, |
int | sy, | ||
int | olddir | ||
) |
void Target::Paint | ( | void | ) |
Reimplemented from Imprinter.
void Target::PolygonDrop | ( | Polygon3 & | polygon, |
double | level | ||
) |
void Target::RaiseDistanceMap | ( | double | height, |
bool | invert | ||
) |
void Target::SetupDrill | ( | Tool & | tool, |
double | diameter, | ||
double | depth | ||
) |
void Target::Simulate | ( | void | ) |
void Target::ToXml | ( | wxXmlNode * | parentNode | ) |
void Target::VectorDrop | ( | double & | x, |
double & | y, | ||
double & | z, | ||
double | level | ||
) |