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

The CustomVtkBoxWidget class CustomVtkBoxWidget restricts the transformation. More...

#include <CustomVtkBoxWidget.h>

Inheritance diagram for CustomVtkBoxWidget:
Collaboration diagram for CustomVtkBoxWidget:

Public Member Functions

 vtkTypeMacro (CustomVtkBoxWidget, vtkBoxWidget)
 
virtual void Translate (double *p1, double *p2) override
 
virtual void Scale (double *p1, double *p2, int X, int Y) override
 
virtual void Rotate (int X, int Y, double *p1, double *p2, double *vpn) override
 
void SetTranslateXEnabled (bool state)
 
void SetTranslateYEnabled (bool state)
 
void SetTranslateZEnabled (bool state)
 
void SetRotateXEnabled (bool state)
 
void SetRotateYEnabled (bool state)
 
void SetRotateZEnabled (bool state)
 
void SetScaleEnabled (bool state)
 

Static Public Member Functions

static CustomVtkBoxWidgetNew ()
 

Detailed Description

The CustomVtkBoxWidget class CustomVtkBoxWidget restricts the transformation.

Definition at line 19 of file CustomVtkBoxWidget.h.

Member Function Documentation

◆ New()

static CustomVtkBoxWidget* CustomVtkBoxWidget::New ( )
static

◆ Rotate()

void CustomVtkBoxWidget::Rotate ( int  X,
int  Y,
double *  p1,
double *  p2,
double *  vpn 
)
overridevirtual

◆ Scale()

void CustomVtkBoxWidget::Scale ( double *  p1,
double *  p2,
int  X,
int  Y 
)
overridevirtual

Definition at line 55 of file CustomVtkBoxWidget.cpp.

◆ SetRotateXEnabled()

void CustomVtkBoxWidget::SetRotateXEnabled ( bool  state)
inline

Definition at line 33 of file CustomVtkBoxWidget.h.

◆ SetRotateYEnabled()

void CustomVtkBoxWidget::SetRotateYEnabled ( bool  state)
inline

Definition at line 34 of file CustomVtkBoxWidget.h.

◆ SetRotateZEnabled()

void CustomVtkBoxWidget::SetRotateZEnabled ( bool  state)
inline

Definition at line 35 of file CustomVtkBoxWidget.h.

◆ SetScaleEnabled()

void CustomVtkBoxWidget::SetScaleEnabled ( bool  state)
inline

Definition at line 36 of file CustomVtkBoxWidget.h.

◆ SetTranslateXEnabled()

void CustomVtkBoxWidget::SetTranslateXEnabled ( bool  state)
inline

Definition at line 30 of file CustomVtkBoxWidget.h.

◆ SetTranslateYEnabled()

void CustomVtkBoxWidget::SetTranslateYEnabled ( bool  state)
inline

Definition at line 31 of file CustomVtkBoxWidget.h.

◆ SetTranslateZEnabled()

void CustomVtkBoxWidget::SetTranslateZEnabled ( bool  state)
inline

Definition at line 32 of file CustomVtkBoxWidget.h.

◆ Translate()

void CustomVtkBoxWidget::Translate ( double *  p1,
double *  p2 
)
overridevirtual

Definition at line 27 of file CustomVtkBoxWidget.cpp.

◆ vtkTypeMacro()

CustomVtkBoxWidget::vtkTypeMacro ( CustomVtkBoxWidget  ,
vtkBoxWidget   
)

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