Index: Rendering/vtkInteractorStyleTrackballCamera.h
===================================================================
RCS file: /cvsroot/VTK/VTK/Rendering/vtkInteractorStyleTrackballCamera.h,v
retrieving revision 1.19
diff -u -r1.19 vtkInteractorStyleTrackballCamera.h
--- a/Rendering/vtkInteractorStyleTrackballCamera.h	28 Jan 2004 21:38:00 -0000	1.19
+++ b/Rendering/vtkInteractorStyleTrackballCamera.h	12 Aug 2004 21:25:19 -0000
@@ -24,6 +24,11 @@
 // panning, and ctrl + left button for spinning.  (With fewer mouse buttons,
 // ctrl + shift + left button is for zooming, and shift + left button is for
 // panning.)
+// Enabling MousePicking allows you to pick in the render window by pressing
+// and releasing either the left or right mouse button without moving the mouse
+// in between. Use GetPickButton() to find out which mouse button was used to 
+// perform the last mouse button pick. 0 == left mouse button pick. 1 == right
+// mouse button pick.
 
 // .SECTION See Also
 // vtkInteractorStyleTrackballActor vtkInteractorStyleJoystickCamera
@@ -32,6 +37,9 @@
 #ifndef __vtkInteractorStyleTrackballCamera_h
 #define __vtkInteractorStyleTrackballCamera_h
 
+#define VTK_LEFT_PICK 0
+#define VTK_RIGHT_PICK 1
+
 #include "vtkInteractorStyle.h"
 
 class VTK_RENDERING_EXPORT vtkInteractorStyleTrackballCamera : public vtkInteractorStyle
@@ -63,11 +71,23 @@
   virtual void Pan();
   virtual void Dolly();
   
+    // Get the button that just picked
+   vtkGetMacro(PickButton, int );
+   
+  //Description:
+  //Enable/Disable Mouse Picking
+  vtkSetMacro(MousePicking, int);
+  vtkGetMacro(MousePicking, int);
+  vtkBooleanMacro(MousePicking,int);
+  
 protected:
   vtkInteractorStyleTrackballCamera();
   ~vtkInteractorStyleTrackballCamera();
 
   double MotionFactor;
+  int MouseMotion;
+  int PickButton;
+  int MousePicking;
 
   virtual void Dolly(double factor);
 
