|
Generic CAM 0.1-PreAlpha
|
#include <Imprinter.h>


Public Types | |
| enum | face_t { facing_up, facing_down, facing_side, other } |
Public Member Functions | |
| Imprinter (const double sizeX=0.1, const double sizeY=0.1, const double sizeZ=0.05, const double resolutionX=0.001, const double resolutionY=0.001) | |
| Imprinter (const Imprinter &ip) | |
| virtual | ~Imprinter () |
| > Copy constructor | |
| Imprinter & | operator= (const Imprinter &b) |
| Imprinter & | operator+= (const Imprinter &a) |
| const Imprinter | operator+ (const Imprinter &a) const |
| void | Paint () |
| bool | SetupField (const size_t sizeX, const size_t sizeY, const double resolutionX=0.001, const double resolutionY=0.001) |
| void | ClearField (void) |
| bool | IsEmpty (void) const |
| bool | SetupBox (const double sizeX, const double sizeY, const double sizeZ, const double resolutionX=0.001, const double resolutionY=0.001) |
| size_t | MemoryUsageInBytes (void) |
| void | InitOutSides (void) |
| void | InitImprinting (void) |
| void | InsertTriangle (Vector3 a, Vector3 b, Vector3 c, face_t facetype=other) |
| void | InsertGeometrie (const Geometry *geometry, AffineTransformMatrix shift) |
| void | FinishImprint (void) |
| void | SetupSphere (double radius, const double resolutionX=0.001, const double resolutionY=0.001) |
| void | SetupCylinder (double radius, double height, const double resolutionX=0.001, const double resolutionY=0.001) |
| void | SetupDisc (double radius, const double resolutionX=0.001, const double resolutionY=0.001) |
| bool | IsFilled (int x, int y, double height) |
| bool | IsFilledAbove (int x, int y, double height) |
| bool | IsFilled (size_t p, double height) |
| bool | IsFilled (size_t p) |
| bool | IsOnOuterBorder (size_t p) |
| bool | IsSurrounded (size_t p) |
| bool | IsVisible (int x, int y) |
| bool | IsVisible (size_t p) |
| double | GetMeanLevel (int x, int y) |
| double | GetMeanLevel (size_t p) |
| double | GetLevel (double x, double y) |
| void | CleanOutlier (void) |
| void | Limit (void) |
| void | FoldRaise (const Imprinter &b) |
| void | FoldReplace (const Imprinter &b) |
| void | FoldLower (int x, int y, double z, const Imprinter &b) |
| void | HardInvert (void) |
| void | MaxFilling (void) |
| void | InvertTop (void) |
| void | InvertZ (void) |
| void | FlipX (void) |
| void | FlipY (void) |
| void | Rot90 (void) |
| void | Rot180 (void) |
| void | Rot270 (void) |
| double | GetSizeX (void) |
| double | GetSizeY (void) |
| double | GetSizeZ (void) |
| double | GetSizeRX (void) |
| double | GetSizeRY (void) |
Public Attributes | |
| bool | displayBox |
| bool | displayField |
| bool | displayUpUp |
| bool | displayUpDown |
| bool | displayDownUp |
| bool | displayDownDown |
| bool | refresh |
Protected Attributes | |
| ImprinterElement * | field |
| double | sx |
| double | sy |
| double | sz |
| double | rx |
| double | ry |
| size_t | nx |
| size_t | ny |
| size_t | N |
| GLuint | displayListIndex |
| bool | displayListGenerated |
| Vector3 | colorNormal |
| Vector3 | colorUnscratched |
| Vector3 | colorTodo |
...
| enum Imprinter::face_t |
| Imprinter::Imprinter | ( | const double | sizeX = 0.1, |
| const double | sizeY = 0.1, |
||
| const double | sizeZ = 0.05, |
||
| const double | resolutionX = 0.001, |
||
| const double | resolutionY = 0.001 |
||
| ) |
| Imprinter::Imprinter | ( | const Imprinter & | ip | ) |
| Imprinter::~Imprinter | ( | ) | [virtual] |
> Copy constructor
| void Imprinter::CleanOutlier | ( | void | ) |
| void Imprinter::ClearField | ( | void | ) |
| void Imprinter::FinishImprint | ( | void | ) |
| void Imprinter::FlipX | ( | void | ) |
| void Imprinter::FlipY | ( | void | ) |
| void Imprinter::FoldLower | ( | int | x, |
| int | y, | ||
| double | z, | ||
| const Imprinter & | b | ||
| ) |
| void Imprinter::FoldRaise | ( | const Imprinter & | b | ) |
| void Imprinter::FoldReplace | ( | const Imprinter & | b | ) |
| double Imprinter::GetLevel | ( | double | x, |
| double | y | ||
| ) |
| double Imprinter::GetMeanLevel | ( | int | x, |
| int | y | ||
| ) |
| double Imprinter::GetMeanLevel | ( | size_t | p | ) |
| double Imprinter::GetSizeRX | ( | void | ) | [inline] |
| double Imprinter::GetSizeRY | ( | void | ) | [inline] |
| double Imprinter::GetSizeX | ( | void | ) | [inline] |
| double Imprinter::GetSizeY | ( | void | ) | [inline] |
| double Imprinter::GetSizeZ | ( | void | ) | [inline] |
| void Imprinter::HardInvert | ( | void | ) |
| void Imprinter::InitImprinting | ( | void | ) |
| void Imprinter::InitOutSides | ( | void | ) |
| void Imprinter::InsertGeometrie | ( | const Geometry * | geometry, |
| AffineTransformMatrix | shift | ||
| ) |
| void Imprinter::InvertTop | ( | void | ) |
| void Imprinter::InvertZ | ( | void | ) |
| bool Imprinter::IsEmpty | ( | void | ) | const [inline] |
| bool Imprinter::IsFilled | ( | int | x, |
| int | y, | ||
| double | height | ||
| ) |
| bool Imprinter::IsFilled | ( | size_t | p | ) |
| bool Imprinter::IsFilled | ( | size_t | p, |
| double | height | ||
| ) |
| bool Imprinter::IsFilledAbove | ( | int | x, |
| int | y, | ||
| double | height | ||
| ) |
| bool Imprinter::IsOnOuterBorder | ( | size_t | p | ) |
| bool Imprinter::IsSurrounded | ( | size_t | p | ) |
| bool Imprinter::IsVisible | ( | int | x, |
| int | y | ||
| ) |
| bool Imprinter::IsVisible | ( | size_t | p | ) |
| void Imprinter::Limit | ( | void | ) |
| void Imprinter::MaxFilling | ( | void | ) |
| size_t Imprinter::MemoryUsageInBytes | ( | void | ) |
| void Imprinter::Rot180 | ( | void | ) |
| void Imprinter::Rot270 | ( | void | ) |
| void Imprinter::Rot90 | ( | void | ) |
| bool Imprinter::SetupBox | ( | const double | sizeX, |
| const double | sizeY, | ||
| const double | sizeZ, | ||
| const double | resolutionX = 0.001, |
||
| const double | resolutionY = 0.001 |
||
| ) |
Reimplemented in Workpiece.
| void Imprinter::SetupCylinder | ( | double | radius, |
| double | height, | ||
| const double | resolutionX = 0.001, |
||
| const double | resolutionY = 0.001 |
||
| ) |
| void Imprinter::SetupDisc | ( | double | radius, |
| const double | resolutionX = 0.001, |
||
| const double | resolutionY = 0.001 |
||
| ) |
| bool Imprinter::SetupField | ( | const size_t | sizeX, |
| const size_t | sizeY, | ||
| const double | resolutionX = 0.001, |
||
| const double | resolutionY = 0.001 |
||
| ) |
| void Imprinter::SetupSphere | ( | double | radius, |
| const double | resolutionX = 0.001, |
||
| const double | resolutionY = 0.001 |
||
| ) |
Vector3 Imprinter::colorNormal [protected] |
Vector3 Imprinter::colorTodo [protected] |
Vector3 Imprinter::colorUnscratched [protected] |
bool Imprinter::displayListGenerated [protected] |
GLuint Imprinter::displayListIndex [protected] |
ImprinterElement* Imprinter::field [protected] |
size_t Imprinter::N [protected] |
size_t Imprinter::nx [protected] |
size_t Imprinter::ny [protected] |
| bool Imprinter::refresh |
double Imprinter::rx [protected] |
double Imprinter::ry [protected] |
double Imprinter::sx [protected] |
double Imprinter::sy [protected] |
double Imprinter::sz [protected] |