OGS
QVtkDataSetMapper.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4// ** INCLUDES **
5#include "QVtkDataSetMapper.h"
6
7#include <vtkObjectFactory.h>
8
10
12
14
15void QVtkDataSetMapper::PrintSelf(ostream& os, vtkIndent indent)
16{
17 this->Superclass::PrintSelf(os, indent);
18}
19
21{
22 vtkDataSetMapper::SetScalarVisibility(static_cast<int>(on));
23}
vtkStandardNewMacro(QVtkDataSetMapper)
Simply wraps vtkDataSetMapper as a Qt object to enable slot connections.
virtual void SetScalarVisibility(bool on)
Sets the scalar visibility on this mapper.
void PrintSelf(ostream &os, vtkIndent indent) override
Prints information about itself.
~QVtkDataSetMapper() override
Destructor.
QVtkDataSetMapper()
Constructor.