00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkCompositePainter.h,v $ 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 vtkInformationIntegerKey; 00030 00031 class VTK_RENDERING_EXPORT vtkCompositePainter : public vtkPainter 00032 { 00033 public: 00034 static vtkCompositePainter* New(); 00035 vtkTypeRevisionMacro(vtkCompositePainter, vtkPainter); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00040 static vtkInformationIntegerKey* COLOR_LEAVES(); 00041 00044 virtual vtkDataObject* GetOutput(); 00045 00046 //BTX 00047 protected: 00048 vtkCompositePainter(); 00049 ~vtkCompositePainter(); 00050 00052 virtual void ReportReferences(vtkGarbageCollector *collector); 00053 00057 virtual void ProcessInformation(vtkInformation*); 00058 00060 00065 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00066 unsigned long typeflags); 00068 00069 vtkSetMacro(ColorLeaves, int); 00070 vtkGetMacro(ColorLeaves, int); 00071 int ColorLeaves; 00072 00073 vtkDataObject* OutputData; 00074 private: 00075 vtkCompositePainter(const vtkCompositePainter&); // Not implemented. 00076 void operator=(const vtkCompositePainter&); // Not implemented. 00077 //ETX 00078 }; 00079 00080 #endif 00081 00082