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

#include <CustomVtkCaptionWidget.h>

Inheritance diagram for CustomVtkCaptionWidget:
[legend]
Collaboration diagram for CustomVtkCaptionWidget:
[legend]

Public Member Functions

 vtkTypeMacro (CustomVtkCaptionWidget, vtkCaptionWidget)
 
void SetHandleEnabled (bool state)
 
void SetAssociatedLabel (cc2DLabel *label)
 Set the associated cc2DLabel for selection notification. More...
 
cc2DLabel * GetAssociatedLabel () const
 Get the associated cc2DLabel. More...
 

Static Public Member Functions

static CustomVtkCaptionWidget * New ()
 

Protected Member Functions

 CustomVtkCaptionWidget ()
 
 ~CustomVtkCaptionWidget () override
 

Static Protected Member Functions

static void OnWidgetInteraction (vtkObject *caller, unsigned long eventId, void *clientData, void *callData)
 Callback for widget interaction events. More...
 

Protected Attributes

cc2DLabel * m_associatedLabel
 
vtkSmartPointer< vtkCallbackCommand > m_interactionCallback
 

Constructor & Destructor Documentation

◆ CustomVtkCaptionWidget()

CustomVtkCaptionWidget::CustomVtkCaptionWidget ( )
protected

◆ ~CustomVtkCaptionWidget()

CustomVtkCaptionWidget::~CustomVtkCaptionWidget ( )
overrideprotected

Member Function Documentation

◆ GetAssociatedLabel()

cc2DLabel* CustomVtkCaptionWidget::GetAssociatedLabel ( ) const
inline

Get the associated cc2DLabel.

◆ New()

static CustomVtkCaptionWidget* CustomVtkCaptionWidget::New ( )
static

◆ OnWidgetInteraction()

void CustomVtkCaptionWidget::OnWidgetInteraction ( vtkObject *  caller,
unsigned long  eventId,
void *  clientData,
void *  callData 
)
staticprotected

◆ SetAssociatedLabel()

void CustomVtkCaptionWidget::SetAssociatedLabel ( cc2DLabel *  label)

Set the associated cc2DLabel for selection notification.

References m_associatedLabel.

◆ SetHandleEnabled()

void CustomVtkCaptionWidget::SetHandleEnabled ( bool  state)

◆ vtkTypeMacro()

CustomVtkCaptionWidget::vtkTypeMacro ( CustomVtkCaptionWidget  ,
vtkCaptionWidget   
)

Member Data Documentation

◆ m_associatedLabel

cc2DLabel* CustomVtkCaptionWidget::m_associatedLabel
protected

◆ m_interactionCallback

vtkSmartPointer<vtkCallbackCommand> CustomVtkCaptionWidget::m_interactionCallback
protected

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