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

#include <vtkScalarBarWidgetCustom.h>

Inheritance diagram for vtkScalarBarWidgetCustom:
Collaboration diagram for vtkScalarBarWidgetCustom:

Public Member Functions

 vtkTypeMacro (vtkScalarBarWidgetCustom, vtkBorderWidget)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetRepresentation (vtkScalarBarRepresentation *rep) override
 
vtkScalarBarRepresentation * GetScalarBarRepresentation ()
 
virtual void SetScalarBarActor (vtkScalarBarActor *actor) override
 
virtual vtkScalarBarActor * GetScalarBarActor () override
 
void CreateDefaultRepresentation () override
 
void CreateDefaultScalarBarActor ()
 

Static Public Member Functions

static vtkScalarBarWidgetCustomNew ()
 

Protected Member Functions

 vtkScalarBarWidgetCustom ()
 
 ~vtkScalarBarWidgetCustom () override
 

Detailed Description

Definition at line 14 of file vtkScalarBarWidgetCustom.h.

Constructor & Destructor Documentation

◆ vtkScalarBarWidgetCustom()

vtkScalarBarWidgetCustom::vtkScalarBarWidgetCustom ( )
protected

Definition at line 28 of file vtkScalarBarWidgetCustom.cpp.

◆ ~vtkScalarBarWidgetCustom()

vtkScalarBarWidgetCustom::~vtkScalarBarWidgetCustom ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateDefaultRepresentation()

void vtkScalarBarWidgetCustom::CreateDefaultRepresentation ( )
override

Create the default widget representation if one is not set.

Definition at line 73 of file vtkScalarBarWidgetCustom.cpp.

References vtkScalarBarRepresentationCustom::LowerRightCorner, vtkScalarBarRepresentationCustom::New(), and SetRepresentation().

Referenced by GetScalarBarActor(), and SetScalarBarActor().

◆ CreateDefaultScalarBarActor()

void vtkScalarBarWidgetCustom::CreateDefaultScalarBarActor ( )

◆ GetScalarBarActor()

vtkScalarBarActor * vtkScalarBarWidgetCustom::GetScalarBarActor ( )
overridevirtual

◆ GetScalarBarRepresentation()

vtkScalarBarRepresentation* vtkScalarBarWidgetCustom::GetScalarBarRepresentation ( )
inline

Return the representation as a vtkScalarBarRepresentation.

Definition at line 30 of file vtkScalarBarWidgetCustom.h.

Referenced by GetScalarBarActor(), and SetScalarBarActor().

◆ New()

static vtkScalarBarWidgetCustom* vtkScalarBarWidgetCustom::New ( )
static

◆ PrintSelf()

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

Definition at line 97 of file vtkScalarBarWidgetCustom.cpp.

References QtCompat::endl().

◆ SetRepresentation()

void vtkScalarBarWidgetCustom::SetRepresentation ( vtkScalarBarRepresentation *  rep)
overridevirtual

Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget.

Definition at line 42 of file vtkScalarBarWidgetCustom.cpp.

Referenced by CreateDefaultRepresentation().

◆ SetScalarBarActor()

void vtkScalarBarWidgetCustom::SetScalarBarActor ( vtkScalarBarActor *  actor)
overridevirtual

Get the ScalarBar used by this Widget. One is created automatically.

Definition at line 48 of file vtkScalarBarWidgetCustom.cpp.

References CreateDefaultRepresentation(), and GetScalarBarRepresentation().

Referenced by CreateDefaultScalarBarActor(), and PclTools::UpdateScalarBar().

◆ vtkTypeMacro()

vtkScalarBarWidgetCustom::vtkTypeMacro ( vtkScalarBarWidgetCustom  ,
vtkBorderWidget   
)

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