VTK  9.3.20240422
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
130#ifndef vtkDataSetMapper_h
131#define vtkDataSetMapper_h
132
133#include "vtkMapper.h"
134#include "vtkRenderingCoreModule.h" // For export macro
135#include "vtkWrappingHints.h" // For VTK_MARSHALMANUAL
136
137VTK_ABI_NAMESPACE_BEGIN
140
141class VTKRENDERINGCORE_EXPORT VTK_MARSHALMANUAL vtkDataSetMapper : public vtkMapper
142{
143public:
146 void PrintSelf(ostream& os, vtkIndent indent) override;
147 void Render(vtkRenderer* ren, vtkActor* act) override;
148
150
153 vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
155
162
167
169
175
176protected:
179
182
184
185 // see algorithm for more info
186 int FillInputPortInformation(int port, vtkInformation* info) override;
187
188private:
189 vtkDataSetMapper(const vtkDataSetMapper&) = delete;
190 void operator=(const vtkDataSetMapper&) = delete;
191};
192
193VTK_ABI_NAMESPACE_END
194#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
map vtkDataSet and derived classes to graphics primitives
void ReportReferences(vtkGarbageCollector *) override
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
~vtkDataSetMapper() override
vtkDataSetSurfaceFilter * GeometryExtractor
void Render(vtkRenderer *ren, vtkActor *act) override
Method initiates the mapping process.
vtkPolyDataMapper * PolyDataMapper
static vtkDataSetMapper * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataSet * GetInput()
Set the Input of this mapper.
vtkMTimeType GetMTime() override
Get the mtime also considering the lookup table.
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.
Extracts outer surface (as vtkPolyData) of any dataset.
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
Detect and break reference loops.
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
abstract class specifies interface to map data to graphics primitives
Definition vtkMapper.h:137
map vtkPolyData to graphics primitives
abstract specification for renderers
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270
#define VTK_MARSHALMANUAL