VTK  9.1.0
vtkDataSetMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetMapper.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
136 #ifndef vtkDataSetMapper_h
137 #define vtkDataSetMapper_h
138 
139 #include "vtkMapper.h"
140 #include "vtkRenderingCoreModule.h" // For export macro
141 
142 class vtkPolyDataMapper;
144 
145 class VTKRENDERINGCORE_EXPORT vtkDataSetMapper : public vtkMapper
146 {
147 public:
149  vtkTypeMacro(vtkDataSetMapper, vtkMapper);
150  void PrintSelf(ostream& os, vtkIndent indent) override;
151  void Render(vtkRenderer* ren, vtkActor* act) override;
152 
154 
157  vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
159 
166 
170  vtkMTimeType GetMTime() override;
171 
173 
176  void SetInputData(vtkDataSet* input);
179 
180 protected:
182  ~vtkDataSetMapper() override;
183 
186 
188 
189  // see algorithm for more info
191 
192 private:
193  vtkDataSetMapper(const vtkDataSetMapper&) = delete;
194  void operator=(const vtkDataSetMapper&) = delete;
195 };
196 
197 #endif
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:146
vtkDataSetMapper::SetInputData
void SetInputData(vtkDataSet *input)
Set the Input of this mapper.
vtkDataSetMapper::GetInput
vtkDataSet * GetInput()
Set the Input of this mapper.
vtkDataSetMapper::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataSetMapper::PolyDataMapper
vtkPolyDataMapper * PolyDataMapper
Definition: vtkDataSetMapper.h:185
vtkDataSetMapper::Render
void Render(vtkRenderer *ren, vtkActor *act) override
Method initiates the mapping process.
vtkDataSetMapper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSetMapper::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39
vtkMapper.h
vtkDataSetSurfaceFilter
Extracts outer surface (as vtkPolyData) of any dataset.
Definition: vtkDataSetSurfaceFilter.h:227
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkMapper
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:171
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:155
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkDataSetMapper::vtkDataSetMapper
vtkDataSetMapper()
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:95
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataSetMapper::GeometryExtractor
vtkDataSetSurfaceFilter * GeometryExtractor
Definition: vtkDataSetMapper.h:184
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:182
vtkDataSetMapper::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
vtkDataSetMapper::New
static vtkDataSetMapper * New()
vtkDataSetMapper::~vtkDataSetMapper
~vtkDataSetMapper() override
vtkDataSetMapper::GetMTime
vtkMTimeType GetMTime() override
Get the mtime also considering the lookup table.
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287
vtkDataSetMapper
map vtkDataSet and derived classes to graphics primitives
Definition: vtkDataSetMapper.h:146