VTK
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 =========================================================================*/
33 #ifndef vtkDataSetMapper_h
34 #define vtkDataSetMapper_h
35 
36 #include "vtkRenderingCoreModule.h" // For export macro
37 #include "vtkMapper.h"
38 
39 class vtkPolyDataMapper;
41 
42 class VTKRENDERINGCORE_EXPORT vtkDataSetMapper : public vtkMapper
43 {
44 public:
45  static vtkDataSetMapper *New();
46  vtkTypeMacro(vtkDataSetMapper, vtkMapper);
47  void PrintSelf(ostream& os, vtkIndent indent);
48  void Render(vtkRenderer *ren, vtkActor *act);
49 
51 
54  vtkGetObjectMacro(PolyDataMapper, vtkPolyDataMapper);
56 
63 
68 
70 
73  void SetInputData(vtkDataSet *input);
76 
77 protected:
80 
83 
85 
86  // see algorithm for more info
88 
89 private:
90  vtkDataSetMapper(const vtkDataSetMapper&) VTK_DELETE_FUNCTION;
91  void operator=(const vtkDataSetMapper&) VTK_DELETE_FUNCTION;
92 };
93 
94 #endif
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:43
vtkDataSetMapper::SetInputData
void SetInputData(vtkDataSet *input)
Set the Input of this mapper.
vtkDataSetMapper::GetInput
vtkDataSet * GetInput()
vtkDataSetMapper::GetMTime
vtkMTimeType GetMTime()
Get the mtime also considering the lookup table.
vtkDataSetMapper::PolyDataMapper
vtkPolyDataMapper * PolyDataMapper
Definition: vtkDataSetMapper.h:82
vtkDataSetMapper::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkMTimeType
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248
vtkMapper.h
vtkDataSetSurfaceFilter
Extracts outer (polygonal) surface.
Definition: vtkDataSetSurfaceFilter.h:56
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkDataSetMapper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkMapper
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:92
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkDataSetMapper::~vtkDataSetMapper
~vtkDataSetMapper()
vtkDataSetMapper::vtkDataSetMapper
vtkDataSetMapper()
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:100
vtkDataSetMapper::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkDataSetMapper::Render
void Render(vtkRenderer *ren, vtkActor *act)
Method initiates the mapping process.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkDataSetMapper::GeometryExtractor
vtkDataSetSurfaceFilter * GeometryExtractor
Definition: vtkDataSetMapper.h:81
vtkDataSetMapper::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkDataSetMapper::New
static vtkDataSetMapper * New()
vtkDataSetMapper
map vtkDataSet and derived classes to graphics primitives
Definition: vtkDataSetMapper.h:43