ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkPVTrackballZoomToMouse Class Reference

#include <vtkPVTrackballZoomToMouse.h>

Inheritance diagram for vtkPVTrackballZoomToMouse:
Collaboration diagram for vtkPVTrackballZoomToMouse:

Public Member Functions

 vtkTypeMacro (vtkPVTrackballZoomToMouse, vtkPVTrackballZoom)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void OnMouseMove (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
 
void OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
 
- Public Member Functions inherited from vtkPVTrackballZoom
 vtkTypeMacro (vtkPVTrackballZoom, vtkCameraManipulator)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
 
 vtkSetMacro (UseDollyForPerspectiveProjection, bool)
 
 vtkGetMacro (UseDollyForPerspectiveProjection, bool)
 
 vtkBooleanMacro (UseDollyForPerspectiveProjection, bool)
 
- Public Member Functions inherited from vtkCameraManipulator
 vtkTypeMacro (vtkCameraManipulator, vtkObject)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void StartInteraction ()
 
virtual void EndInteraction ()
 
virtual void OnKeyUp (vtkRenderWindowInteractor *iren)
 
virtual void OnKeyDown (vtkRenderWindowInteractor *iren)
 
 vtkSetMacro (Button, int)
 
 vtkGetMacro (Button, int)
 
 vtkSetMacro (Shift, int)
 
 vtkGetMacro (Shift, int)
 
 vtkBooleanMacro (Shift, int)
 
 vtkSetMacro (Control, int)
 
 vtkGetMacro (Control, int)
 
 vtkBooleanMacro (Control, int)
 
 vtkSetVector3Macro (Center, double)
 
 vtkGetVector3Macro (Center, double)
 
 vtkSetMacro (RotationFactor, double)
 
 vtkGetMacro (RotationFactor, double)
 
 vtkSetStringMacro (ManipulatorName)
 
 vtkGetStringMacro (ManipulatorName)
 
void SetGUIHelper (vtkCameraManipulatorGUIHelper *)
 
 vtkGetObjectMacro (GUIHelper, vtkCameraManipulatorGUIHelper)
 

Static Public Member Functions

static vtkPVTrackballZoomToMouseNew ()
 
- Static Public Member Functions inherited from vtkPVTrackballZoom
static vtkPVTrackballZoomNew ()
 
- Static Public Member Functions inherited from vtkCameraManipulator
static vtkCameraManipulatorNew ()
 

Protected Member Functions

 vtkPVTrackballZoomToMouse ()
 
 ~vtkPVTrackballZoomToMouse () override
 
 vtkPVTrackballZoomToMouse (const vtkPVTrackballZoomToMouse &)=delete
 
void operator= (const vtkPVTrackballZoomToMouse &)=delete
 
- Protected Member Functions inherited from vtkPVTrackballZoom
 vtkPVTrackballZoom ()
 
 ~vtkPVTrackballZoom () override
 
 vtkPVTrackballZoom (const vtkPVTrackballZoom &)=delete
 
void operator= (const vtkPVTrackballZoom &)=delete
 
- Protected Member Functions inherited from vtkCameraManipulator
 vtkCameraManipulator ()
 
 ~vtkCameraManipulator () override
 
void ComputeDisplayCenter (vtkRenderer *ren)
 

Protected Attributes

int ZoomPosition [2]
 
- Protected Attributes inherited from vtkPVTrackballZoom
bool UseDollyForPerspectiveProjection
 
double ZoomScale
 
- Protected Attributes inherited from vtkCameraManipulator
char * ManipulatorName
 
int Button
 
int Shift
 
int Control
 
double Center [3]
 
double RotationFactor
 
double DisplayCenter [2]
 
vtkCameraManipulatorGUIHelperGUIHelper
 

Detailed Description

Definition at line 13 of file vtkPVTrackballZoomToMouse.h.

Constructor & Destructor Documentation

◆ vtkPVTrackballZoomToMouse() [1/2]

vtkPVTrackballZoomToMouse::vtkPVTrackballZoomToMouse ( )
protected

Definition at line 27 of file vtkPVTrackballZoomToMouse.cxx.

References ZoomPosition.

◆ ~vtkPVTrackballZoomToMouse()

vtkPVTrackballZoomToMouse::~vtkPVTrackballZoomToMouse ( )
overrideprotected

Definition at line 34 of file vtkPVTrackballZoomToMouse.cxx.

◆ vtkPVTrackballZoomToMouse() [2/2]

vtkPVTrackballZoomToMouse::vtkPVTrackballZoomToMouse ( const vtkPVTrackballZoomToMouse )
protecteddelete

Member Function Documentation

◆ New()

static vtkPVTrackballZoomToMouse* vtkPVTrackballZoomToMouse::New ( )
static

◆ OnButtonDown()

void vtkPVTrackballZoomToMouse::OnButtonDown ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
overridevirtual

Reimplemented from vtkPVTrackballZoom.

Definition at line 39 of file vtkPVTrackballZoomToMouse.cxx.

References x, y, and ZoomPosition.

◆ OnMouseMove()

void vtkPVTrackballZoomToMouse::OnMouseMove ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
overridevirtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkPVTrackballZoom.

Definition at line 47 of file vtkPVTrackballZoomToMouse.cxx.

References vtkPVInteractorStyle::DollyToPosition(), y, ZoomPosition, and vtkPVTrackballZoom::ZoomScale.

◆ operator=()

void vtkPVTrackballZoomToMouse::operator= ( const vtkPVTrackballZoomToMouse )
protecteddelete

◆ PrintSelf()

void vtkPVTrackballZoomToMouse::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

Definition at line 59 of file vtkPVTrackballZoomToMouse.cxx.

References QtCompat::endl(), and ZoomPosition.

◆ vtkTypeMacro()

vtkPVTrackballZoomToMouse::vtkTypeMacro ( vtkPVTrackballZoomToMouse  ,
vtkPVTrackballZoom   
)

Member Data Documentation

◆ ZoomPosition

int vtkPVTrackballZoomToMouse::ZoomPosition[2]
protected

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