Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkAbstractVolumeMapper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkAbstractVolumeMapper.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 =========================================================================*/
00026 #ifndef __vtkAbstractVolumeMapper_h
00027 #define __vtkAbstractVolumeMapper_h
00028 
00029 #include "vtkAbstractMapper3D.h"
00030 
00031 class vtkRenderer;
00032 class vtkVolume;
00033 class vtkWindow;
00034 class vtkDataSet;
00035 
00036 class VTK_RENDERING_EXPORT vtkAbstractVolumeMapper : public vtkAbstractMapper3D
00037 {
00038 public:
00039   vtkTypeRevisionMacro(vtkAbstractVolumeMapper,vtkAbstractMapper3D);
00040   void PrintSelf( ostream& os, vtkIndent indent );
00041 
00043 
00044   virtual void SetInput( vtkDataSet * );
00045   vtkDataSet *GetDataSetInput();
00047 
00049 
00051   virtual double *GetBounds();
00052   virtual void GetBounds(double bounds[6])
00053     { this->vtkAbstractMapper3D::GetBounds(bounds); };
00055   
00056 //BTX
00058 
00059   virtual float GetGradientMagnitudeScale() {return 1.0;};
00060   virtual float GetGradientMagnitudeBias()  {return 0.0;};
00061   virtual float GetGradientMagnitudeScale(int) {return 1.0;};
00062   virtual float GetGradientMagnitudeBias(int)  {return 0.0;};
00064   
00065 
00068   virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0;
00069 
00074   virtual void ReleaseGraphicsResources(vtkWindow *) {};
00075   
00076 //ETX
00077 
00078 protected:
00079   vtkAbstractVolumeMapper();
00080   ~vtkAbstractVolumeMapper();
00081   
00082   // see algorithm for more info
00083   virtual int FillInputPortInformation(int port, vtkInformation* info);
00084 
00085 private:
00086   vtkAbstractVolumeMapper(const vtkAbstractVolumeMapper&);  // Not implemented.
00087   void operator=(const vtkAbstractVolumeMapper&);  // Not implemented.
00088 };
00089 
00090 
00091 #endif
00092 
00093 

Generated on Mon Jan 21 23:07:34 2008 for VTK by  doxygen 1.4.3-20050530