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 "vtkMapper.h"
34 
35 class vtkPolyDataMapper;
36 class vtkInformation;
37 class vtkRenderer;
38 class vtkActor;
39 class vtkCompositePolyDataMapperInternals;
40 
42 {
43 
44 public:
47  virtual void PrintSelf(ostream& os, vtkIndent indent);
48 
51  void Render(vtkRenderer *ren, vtkActor *a);
52 
54 
55  double *GetBounds();
56  void GetBounds(double bounds[6]) { this->Superclass::GetBounds( bounds ); };
58 
61 
62 protected:
65 
70 
73 
76  void BuildPolyDataMapper();
77 
80  virtual vtkPolyDataMapper *MakeAMapper();
81 
83  void ComputeBounds();
84 
87 
90  vtkCompositePolyDataMapperInternals *Internal;
91 
94 
95 private:
96  vtkCompositePolyDataMapper(const vtkCompositePolyDataMapper&); // Not implemented.
97  void operator=(const vtkCompositePolyDataMapper&); // Not implemented.
98 };
99 
100 #endif