00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkProjectedAAHexahedraMapper.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 =========================================================================*/ 00034 #ifndef __vtkProjectedAAHexahedraMapper_h 00035 #define __vtkProjectedAAHexahedraMapper_h 00036 00037 #include "vtkUnstructuredGridVolumeMapper.h" 00038 00039 class vtkFloatArray; 00040 class vtkPoints; 00041 class vtkUnsignedCharArray; 00042 class vtkVisibilitySort; 00043 class vtkVolumeProperty; 00044 class vtkRenderWindow; 00045 00046 class VTK_VOLUMERENDERING_EXPORT vtkProjectedAAHexahedraMapper : public vtkUnstructuredGridVolumeMapper 00047 { 00048 public: 00049 vtkTypeMacro(vtkProjectedAAHexahedraMapper, 00050 vtkUnstructuredGridVolumeMapper); 00051 static vtkProjectedAAHexahedraMapper *New(); 00052 virtual void PrintSelf(ostream &os, vtkIndent indent); 00053 00055 00057 virtual void SetVisibilitySort(vtkVisibilitySort *sort); 00058 vtkGetObjectMacro(VisibilitySort, vtkVisibilitySort); 00060 00063 virtual bool IsRenderSupported(vtkRenderWindow *w)=0; 00064 00065 protected: 00066 vtkProjectedAAHexahedraMapper(); 00067 ~vtkProjectedAAHexahedraMapper(); 00068 00071 virtual void ReportReferences(vtkGarbageCollector *collector); 00072 00073 vtkVisibilitySort *VisibilitySort; 00074 00075 private: 00076 vtkProjectedAAHexahedraMapper(const vtkProjectedAAHexahedraMapper &); // Not Implemented. 00077 void operator=(const vtkProjectedAAHexahedraMapper &); // Not Implemented. 00078 }; 00079 00080 #endif