OGS
QVtkDataSetMapper Class Reference

Detailed Description

Simply wraps vtkDataSetMapper as a Qt object to enable slot connections.

Definition at line 21 of file QVtkDataSetMapper.h.

#include <QVtkDataSetMapper.h>

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

Public Slots

virtual void SetScalarVisibility (bool on)
 Sets the scalar visibility on this mapper.
 
void SetScalarVisibility (int on) override
 

Public Member Functions

 vtkTypeMacro (QVtkDataSetMapper, vtkDataSetMapper)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Prints information about itself.
 

Static Public Member Functions

static QVtkDataSetMapperNew ()
 Create new objects with New() because of VTKs reference counting.
 

Protected Member Functions

 QVtkDataSetMapper ()
 Constructor.
 
 ~QVtkDataSetMapper () override
 Destructor.
 

Private Member Functions

 QVtkDataSetMapper (const QVtkDataSetMapper &)
 
void operator= (const QVtkDataSetMapper &)
 

Constructor & Destructor Documentation

◆ QVtkDataSetMapper() [1/2]

QVtkDataSetMapper::QVtkDataSetMapper ( )
protected

Constructor.

Definition at line 22 of file QVtkDataSetMapper.cpp.

22: QObject(nullptr) {}

◆ ~QVtkDataSetMapper()

QVtkDataSetMapper::~QVtkDataSetMapper ( )
overrideprotecteddefault

Destructor.

◆ QVtkDataSetMapper() [2/2]

QVtkDataSetMapper::QVtkDataSetMapper ( const QVtkDataSetMapper & )
private

Member Function Documentation

◆ New()

static QVtkDataSetMapper * QVtkDataSetMapper::New ( )
static

Create new objects with New() because of VTKs reference counting.

Referenced by VtkVisPointSetItem::Initialize().

◆ operator=()

void QVtkDataSetMapper::operator= ( const QVtkDataSetMapper & )
private

◆ PrintSelf()

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

Prints information about itself.

Definition at line 26 of file QVtkDataSetMapper.cpp.

27{
28 this->Superclass::PrintSelf(os, indent);
29}

◆ SetScalarVisibility [1/2]

void QVtkDataSetMapper::SetScalarVisibility ( bool on)
virtualslot

Sets the scalar visibility on this mapper.

Definition at line 31 of file QVtkDataSetMapper.cpp.

32{
33 vtkDataSetMapper::SetScalarVisibility(static_cast<int>(on));
34}

Referenced by VtkVisPointSetItem::SetScalarVisibility(), and SetScalarVisibility().

◆ SetScalarVisibility [2/2]

void QVtkDataSetMapper::SetScalarVisibility ( int on)
inlineoverrideslot

Definition at line 37 of file QVtkDataSetMapper.h.

38 {
39 SetScalarVisibility(static_cast<bool>(on));
40 }
virtual void SetScalarVisibility(bool on)
Sets the scalar visibility on this mapper.

References SetScalarVisibility().

◆ vtkTypeMacro()

QVtkDataSetMapper::vtkTypeMacro ( QVtkDataSetMapper ,
vtkDataSetMapper  )

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