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 
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