00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCompositePainter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00024 #ifndef __vtkCompositePainter_h 00025 #define __vtkCompositePainter_h 00026 00027 #include "vtkPainter.h" 00028 00029 class VTK_RENDERING_EXPORT vtkCompositePainter : public vtkPainter 00030 { 00031 public: 00032 static vtkCompositePainter* New(); 00033 vtkTypeMacro(vtkCompositePainter, vtkPainter); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00038 virtual vtkDataObject* GetOutput(); 00039 00040 //BTX 00041 protected: 00042 vtkCompositePainter(); 00043 ~vtkCompositePainter(); 00044 00046 virtual void ReportReferences(vtkGarbageCollector *collector); 00047 00049 00054 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00055 unsigned long typeflags, bool forceCompileOnly); 00057 00058 vtkDataObject* OutputData; 00059 private: 00060 vtkCompositePainter(const vtkCompositePainter&); // Not implemented. 00061 void operator=(const vtkCompositePainter&); // Not implemented. 00062 //ETX 00063 }; 00064 00065 #endif 00066 00067