VTK  9.6.1
vtkDataSetMapper.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
20
21#ifndef vtkDataSetMapper_h
22#define vtkDataSetMapper_h
23
24#include "vtkMapper.h"
25#include "vtkRenderingCoreModule.h" // For export macro
26#include "vtkWrappingHints.h" // For VTK_MARSHALMANUAL
27
28VTK_ABI_NAMESPACE_BEGIN
31
32class VTKRENDERINGCORE_EXPORT VTK_MARSHALMANUAL vtkDataSetMapper : public vtkMapper
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38 void Render(vtkRenderer* ren, vtkActor* act) override;
39
41
44 vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
46
53
58
60
66
67protected:
70
73
75
76 // see algorithm for more info
77 int FillInputPortInformation(int port, vtkInformation* info) override;
78
79private:
80 vtkDataSetMapper(const vtkDataSetMapper&) = delete;
81 void operator=(const vtkDataSetMapper&) = delete;
82};
83
84VTK_ABI_NAMESPACE_END
85#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:42
void ReportReferences(vtkGarbageCollector *) override
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
~vtkDataSetMapper() override
void Render(vtkRenderer *ren, vtkActor *act) override
Method initiates the mapping process.
vtkPolyDataMapper * PolyDataMapper
static vtkDataSetMapper * New()
int FillInputPortInformation(int port, vtkInformation *info) override
vtkDataSet * GetInput()
Set the Input of this mapper.
vtkMTimeType GetMTime() override
Get the mtime also considering the lookup table.
vtkGeometryFilter * GeometryExtractor
void SetInputData(vtkDataSet *input)
Set the Input of this mapper.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify dataset behavior
Definition vtkDataSet.h:57
Detect and break reference loops.
extract boundary geometry from dataset (or convert data to polygonal type)
a simple class to control print indentation
Definition vtkIndent.h:29
Store vtkAlgorithm input/output information.
map vtkPolyData to graphics primitives
abstract specification for renderers
Definition vtkRenderer.h:64
window superclass for vtkRenderWindow
Definition vtkWindow.h:29
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:323
#define VTK_MARSHALMANUAL