VTK
vtkCompositePolyDataMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositePolyDataMapper.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 =========================================================================*/
30 #ifndef vtkCompositePolyDataMapper_h
31 #define vtkCompositePolyDataMapper_h
32 
33 #include "vtkRenderingCoreModule.h" // For export macro
34 #include "vtkMapper.h"
35 
36 class vtkPolyDataMapper;
37 class vtkInformation;
38 class vtkRenderer;
39 class vtkActor;
40 class vtkCompositePolyDataMapperInternals;
41 
43 {
44 
45 public:
48  virtual void PrintSelf(ostream& os, vtkIndent indent);
49 
52  void Render(vtkRenderer *ren, vtkActor *a);
53 
55 
56  double *GetBounds();
57  void GetBounds(double bounds[6]) { this->Superclass::GetBounds( bounds ); };
59 
62 
63 protected:
66 
71 
74 
77  void BuildPolyDataMapper();
78 
81  virtual vtkPolyDataMapper *MakeAMapper();
82 
84  void ComputeBounds();
85 
88 
91  vtkCompositePolyDataMapperInternals *Internal;
92 
95 
96 private:
97  vtkCompositePolyDataMapper(const vtkCompositePolyDataMapper&); // Not implemented.
98  void operator=(const vtkCompositePolyDataMapper&); // Not implemented.
99 };
100 
101 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition: vtkMapper.h:109
virtual vtkExecutive * CreateDefaultExecutive()
Store vtkAlgorithm input/output information.
record modification and/or execution time
Definition: vtkTimeStamp.h:34
abstract specification for renderers
Definition: vtkRenderer.h:63
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:51
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual double * GetBounds()=0
vtkCompositePolyDataMapperInternals * Internal
virtual int FillInputPortInformation(int port, vtkInformation *info)
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:89
map vtkPolyData to graphics primitives
#define VTKRENDERINGCORE_EXPORT
virtual double * GetBounds()
static vtkAlgorithm * New()
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
a class that renders hierarchical polygonal data