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

#include <CustomVtkCaptionWidget.h>

Inheritance diagram for CustomVtkCaptionWidget:
Collaboration diagram for CustomVtkCaptionWidget:

Public Member Functions

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

Static Public Member Functions

static CustomVtkCaptionWidgetNew ()
 

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

cc2DLabelm_associatedLabel
 
vtkSmartPointer< vtkCallbackCommand > m_interactionCallback
 

Detailed Description

Definition at line 25 of file CustomVtkCaptionWidget.h.

Constructor & Destructor Documentation

◆ CustomVtkCaptionWidget()

CustomVtkCaptionWidget::CustomVtkCaptionWidget ( )
protected

Definition at line 28 of file CustomVtkCaptionWidget.cpp.

References m_interactionCallback, and OnWidgetInteraction().

◆ ~CustomVtkCaptionWidget()

CustomVtkCaptionWidget::~CustomVtkCaptionWidget ( )
overrideprotected

Definition at line 43 of file CustomVtkCaptionWidget.cpp.

References m_associatedLabel, and m_interactionCallback.

Member Function Documentation

◆ GetAssociatedLabel()

cc2DLabel* CustomVtkCaptionWidget::GetAssociatedLabel ( ) const
inline

Get the associated cc2DLabel.

Definition at line 37 of file CustomVtkCaptionWidget.h.

◆ New()

static CustomVtkCaptionWidget* CustomVtkCaptionWidget::New ( )
static

◆ OnWidgetInteraction()

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

Callback for widget interaction events.

Definition at line 61 of file CustomVtkCaptionWidget.cpp.

References ecvDisplayTools::m_deferredPickingTimer, ecvDisplayTools::m_widgetClicked, and ecvDisplayTools::TheInstance().

Referenced by CustomVtkCaptionWidget().

◆ SetAssociatedLabel()

void CustomVtkCaptionWidget::SetAssociatedLabel ( cc2DLabel label)

Set the associated cc2DLabel for selection notification.

Definition at line 57 of file CustomVtkCaptionWidget.cpp.

References m_associatedLabel.

◆ SetHandleEnabled()

void CustomVtkCaptionWidget::SetHandleEnabled ( bool  state)

Definition at line 51 of file CustomVtkCaptionWidget.cpp.

◆ vtkTypeMacro()

CustomVtkCaptionWidget::vtkTypeMacro ( CustomVtkCaptionWidget  ,
vtkCaptionWidget   
)

Member Data Documentation

◆ m_associatedLabel

cc2DLabel* CustomVtkCaptionWidget::m_associatedLabel
protected

Definition at line 49 of file CustomVtkCaptionWidget.h.

Referenced by SetAssociatedLabel(), and ~CustomVtkCaptionWidget().

◆ m_interactionCallback

vtkSmartPointer<vtkCallbackCommand> CustomVtkCaptionWidget::m_interactionCallback
protected

Definition at line 50 of file CustomVtkCaptionWidget.h.

Referenced by CustomVtkCaptionWidget(), and ~CustomVtkCaptionWidget().


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