/usr/include/VTKEdge/vtkKWELightPaintbrushWidgetCallbackMapper.h is in libvtkedge-dev 0.2.0~20110819-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | //=============================================================================
// This file is part of VTKEdge. See vtkedge.org for more information.
//
// Copyright (c) 2010 Kitware, Inc.
//
// VTKEdge may be used under the terms of the BSD License
// Please see the file Copyright.txt in the root directory of
// VTKEdge for further information.
//
// Alternatively, you may see:
//
// http://www.vtkedge.org/vtkedge/project/license.html
//
//
// For custom extensions, consulting services, or training for
// this or any other Kitware supported open source project, please
// contact Kitware at sales@kitware.com.
//
//
//=============================================================================
// .NAME vtkKWELightPaintbrushWidgetCallbackMapper - map widget events into callbacks
// .SECTION Description
// vtkKWELightPaintbrushWidgetCallbackMapper is a subclass of vtkKWEPaintbrushWidgetCallbackMapper.
// It is an example of how one may override the default bindings to set their own
// bindings on the paintbrush widget. To use this class, one sets the callback mapper
// on the widget.
//
// .SECTION Interactions
//<P>
// The follwing interactions are defined by this class when the brush is
// in Edit mode.
// Left click and drag - Draws a stroke
// Ctrl-Left click and drag - Erase stroke
// Shift Left click drag - Draws a stroke on this sketch alone. All other sketches are deemed uneditable while the shift key is depressed.
// Shft Ctrl Left click drag - Erase stroke on this sketch alone. All other sketches are deemed uneditable while the shift key is depressed.
// Right click and drag - Resize the shape isotropically
//
// The Select mode is not supported/defined by this class.
//
// .SECTION See Also
// vtkWidgetEvent vtkWidgetEventTranslator
#ifndef __vtkKWELightPaintbrushWidgetCallbackMapper_h
#define __vtkKWELightPaintbrushWidgetCallbackMapper_h
#include "VTKEdgeConfigure.h" // needed for export symbols directives
#include "vtkKWEPaintbrushWidgetCallbackMapper.h"
class VTKEdge_WIDGETS_EXPORT vtkKWELightPaintbrushWidgetCallbackMapper : public vtkKWEPaintbrushWidgetCallbackMapper
{
public:
// Description:
// Instantiate the class.
static vtkKWELightPaintbrushWidgetCallbackMapper *New();
// Description:
// Standard macros.
vtkTypeMacro(vtkKWELightPaintbrushWidgetCallbackMapper,vtkKWEPaintbrushWidgetCallbackMapper);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Overriding the superclass method
virtual void Bindings();
protected:
vtkKWELightPaintbrushWidgetCallbackMapper() {};
~vtkKWELightPaintbrushWidgetCallbackMapper() {};
private:
vtkKWELightPaintbrushWidgetCallbackMapper(const vtkKWELightPaintbrushWidgetCallbackMapper&); //Not implemented
void operator=(const vtkKWELightPaintbrushWidgetCallbackMapper&); //Not implemented
};
#endif /* __vtkKWELightPaintbrushWidgetCallbackMapper_h */
|