Generic CAM 0.1-PreAlpha

ToolPath Class Reference

Describes the boundary of the volume to be cut away. More...

#include <ToolPath.h>

Inheritance diagram for ToolPath:
Collaboration diagram for ToolPath:

List of all members.

Public Member Functions

 ToolPath ()
virtual ~ToolPath ()
ToolPathoperator+= (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

Detailed Description

Describes the boundary of the volume to be cut away.

 #include "ToolPath.h"

Constructor & Destructor Documentation

ToolPath::ToolPath ( )
ToolPath::~ToolPath ( ) [virtual]
ToolPath::ToolPath ( )
virtual ToolPath::~ToolPath ( ) [virtual]

Member Function Documentation

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
const ToolPath ToolPath::operator+ ( const ToolPath a) const

Overloaded operator for polygon concatenation.

ToolPath & ToolPath::operator+= ( const ToolPath a)

Overloaded operator for polygon concatenation.

void ToolPath::Paint ( void  )
void ToolPath::WriteToFile ( wxTextFile &  f)

Member Data Documentation

Transformation of the data.

Reimplemented from Geometry.

ArrayOfMachinePosition ToolPath::positions

The documentation for this class was generated from the following files: