#include <vtkKWEPaintbrushSelectionRepresentation.h>


Definition at line 38 of file vtkKWEPaintbrushSelectionRepresentation.h.
typedef vtkstd::vector< vtkKWEPaintbrushSketch * > vtkKWEPaintbrushSelectionRepresentation::SelectedSketchesType [protected] |
List of selected sketches.
Definition at line 168 of file vtkKWEPaintbrushSelectionRepresentation.h.
| anonymous enum |
| PaintbrushRequestSketchSelect | |
| PaintbrushSketchSelect | |
| PaintbrushSketchUnselect | |
| PaintbrushRequestSketchMerge | |
| PaintbrushSketchMerge | |
| PaintbrushDisabled | |
| None |
Definition at line 53 of file vtkKWEPaintbrushSelectionRepresentation.h.
| vtkKWEPaintbrushSelectionRepresentation::vtkKWEPaintbrushSelectionRepresentation | ( | ) | [protected] |
| vtkKWEPaintbrushSelectionRepresentation::~vtkKWEPaintbrushSelectionRepresentation | ( | ) | [protected] |
| vtkKWEPaintbrushSelectionRepresentation::vtkTypeRevisionMacro | ( | vtkKWEPaintbrushSelectionRepresentation | , | |
| vtkWidgetRepresentation | ||||
| ) |
Standard VTK methods.
| void vtkKWEPaintbrushSelectionRepresentation::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkWidgetRepresentation.
Reimplemented in vtkKWEPaintbrushSelectionRepresentation2D.
| virtual int vtkKWEPaintbrushSelectionRepresentation::ComputeInteractionState | ( | int | X, | |
| int | Y, | |||
| int | modifier = 0 | |||
| ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from vtkWidgetRepresentation.
| virtual void vtkKWEPaintbrushSelectionRepresentation::SetPaintbrushDrawing | ( | vtkKWEPaintbrushDrawing * | ) | [virtual] |
Set the Paintbrush drawing
| virtual vtkKWEPaintbrushDrawing* vtkKWEPaintbrushSelectionRepresentation::GetPaintbrushDrawing | ( | ) | [virtual] |
Set the Paintbrush drawing
| void vtkKWEPaintbrushSelectionRepresentation::SetPointPlacer | ( | vtkPointPlacer * | ) |
| virtual vtkPointPlacer* vtkKWEPaintbrushSelectionRepresentation::GetPointPlacer | ( | ) | [virtual] |
| virtual void vtkKWEPaintbrushSelectionRepresentation::DeepCopy | ( | vtkWidgetRepresentation * | ) | [virtual] |
Reimplemented in vtkKWEPaintbrushSelectionRepresentation2D.
| virtual int vtkKWEPaintbrushSelectionRepresentation::DisplayPositionIsInside | ( | vtkKWEPaintbrushSketch * | s, | |
| double | displayPos[2] | |||
| ) | [virtual] |
Check if display point is inside the sketch "s".
| virtual int vtkKWEPaintbrushSelectionRepresentation::WorldPositionIsInside | ( | vtkKWEPaintbrushSketch * | s, | |
| double | worldPos[3] | |||
| ) | [virtual] |
Check if world point is inside the sketch "s".
| virtual vtkKWEPaintbrushSketch* vtkKWEPaintbrushSelectionRepresentation::GetSelectedSketch | ( | ) | [virtual] |
Check if display position is inside the drawing and return the first drawing that falls within the display position. Returns NULL if the position doesn't lie on any sketch in the drawing. virtual vtkKWEPaintbrushSketch* DisplayPositionIsInside( double displayPos[2] );
Get the selected sketch.
| virtual void vtkKWEPaintbrushSelectionRepresentation::AddSketchToSelection | ( | vtkKWEPaintbrushSketch * | ) | [virtual] |
Add sketch to the list of selected sketches.
| virtual void vtkKWEPaintbrushSelectionRepresentation::RemoveSketchFromSelection | ( | vtkKWEPaintbrushSketch * | ) | [virtual] |
Remove sketch from the list of selected sketches.
| virtual int vtkKWEPaintbrushSelectionRepresentation::DeleteSelectedSketches | ( | ) | [virtual] |
Deletes selected sketches. Returns the number of sketches removed.
| virtual void vtkKWEPaintbrushSelectionRepresentation::SelectAllSketches | ( | ) | [virtual] |
Select/UnSelect all the sketches in the drawing
| virtual void vtkKWEPaintbrushSelectionRepresentation::UnSelectAllSketches | ( | ) | [virtual] |
Select/UnSelect all the sketches in the drawing
| const vtkstd::vector< vtkKWEPaintbrushSketch * >& vtkKWEPaintbrushSelectionRepresentation::GetSelectedSketches | ( | ) | [inline] |
Get the selected sketches.
Definition at line 128 of file vtkKWEPaintbrushSelectionRepresentation.h.
| virtual int vtkKWEPaintbrushSelectionRepresentation::MergeSelectedSketches | ( | vtkKWEPaintbrushSketch * | mergedSketch = NULL, |
|
| int | removeSketches = 1 | |||
| ) | [virtual] |
Merge the selected sketches. You may specify a sketch, from the drawing, to merge into. If NULL, the first selected sketch will contain the merge. By default sketches merged are removed. The removeSketches ivar can be used to control this.
| virtual void vtkKWEPaintbrushSelectionRepresentation::SetInteractionState | ( | int | ) | [protected, virtual] |
Set the interaction state.
| virtual int vtkKWEPaintbrushSelectionRepresentation::DragAndDropMerge | ( | ) | [protected, virtual] |
Drag and drop merge support. Returns 1 if successful.
Reimplemented in vtkKWEPaintbrushSelectionRepresentation2D.
friend class vtkKWEPaintbrushSelectionWidget [friend] |
Definition at line 42 of file vtkKWEPaintbrushSelectionRepresentation.h.
Definition at line 154 of file vtkKWEPaintbrushSelectionRepresentation.h.
The point placer determines the world coordinate based on screen coordinate and allows you to set constraints too.
Definition at line 158 of file vtkKWEPaintbrushSelectionRepresentation.h.
int vtkKWEPaintbrushSelectionRepresentation::LastDisplayPosition[2] [protected] |
Bookkeeping of the last display position.
Definition at line 161 of file vtkKWEPaintbrushSelectionRepresentation.h.
The sketch just selected.
Definition at line 164 of file vtkKWEPaintbrushSelectionRepresentation.h.
List of selected sketches.
Definition at line 169 of file vtkKWEPaintbrushSelectionRepresentation.h.
int vtkKWEPaintbrushSelectionRepresentation::PrevInteractionState [protected] |
List of selected sketches.
Definition at line 170 of file vtkKWEPaintbrushSelectionRepresentation.h.
double vtkKWEPaintbrushSelectionRepresentation::DragBeginPoint[3] [protected] |
List of selected sketches.
Definition at line 171 of file vtkKWEPaintbrushSelectionRepresentation.h.
double vtkKWEPaintbrushSelectionRepresentation::DragEndPoint[3] [protected] |
List of selected sketches.
Definition at line 171 of file vtkKWEPaintbrushSelectionRepresentation.h.
List of selected sketches.
Definition at line 172 of file vtkKWEPaintbrushSelectionRepresentation.h.
1.7.1