karbon
VBooleanCmd Class Reference
Inheritance diagram for VBooleanCmd:

Detailed Description
Definition at line 34 of file vbooleancmd.h.
Public Types | |
enum | VBooleanType { intersect, shape_union, shape_xor, substract } |
Public Member Functions | |
VBooleanCmd (VDocument *doc, VBooleanType type=intersect) | |
virtual | ~VBooleanCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual bool | visit (VObject &) |
bool | visit (VObject &object1, VObject &object2) |
virtual void | visitVSubpath (VSubpath &path) |
Protected Types | |
typedef QValueList< double > | VParamList |
Protected Member Functions | |
void | recursiveSubdivision (const VSegment &segment1, double t0_1, double t1_1, const VSegment &segment2, double t0_2, double t1_2, VParamList ¶ms1, VParamList ¶ms2) |
Protected Attributes | |
VSelection * | m_selection |
VBooleanType | m_type |
VSubpath * | m_path1 |
VSubpath * | m_path2 |
Member Function Documentation
|
Executes the command. All the changes to the document are done here. All commands have to implement this function. Implements VCommand. Definition at line 46 of file vbooleancmd.cc. |
|
Unexecutes the command. All changes to the document have to be undone here. Reimplemented from VCommand. Definition at line 59 of file vbooleancmd.cc. |
|
General visit method. Pass an object to this function. This is a virtual function so you need to implement it in the subclass if you want to use it. Return the success value. Reimplemented from VVisitor. Definition at line 53 of file vbooleancmd.h. |
|
Visit method for a VSubpath. Pass a path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it. Reimplemented from VVisitor. Definition at line 75 of file vbooleancmd.cc. |
The documentation for this class was generated from the following files: