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

vtkGaussianCubeReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkGaussianCubeReader.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 =========================================================================*/
00029 #ifndef __vtkGaussianCubeReader_h
00030 #define __vtkGaussianCubeReader_h
00031 
00032 #include "vtkMoleculeReaderBase.h"
00033 
00034 class vtkImageData;
00035 class vtkTransform;
00036 
00037 class VTK_IO_EXPORT vtkGaussianCubeReader : public vtkMoleculeReaderBase 
00038 {
00039 public:
00040   static vtkGaussianCubeReader *New();
00041   vtkTypeRevisionMacro(vtkGaussianCubeReader,vtkMoleculeReaderBase);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00044   vtkGetObjectMacro(Transform,vtkTransform);
00045   vtkSetStringMacro(FileName);
00046   vtkGetStringMacro(FileName);
00047   vtkImageData *GetGridOutput();
00048 
00049 protected:
00050   vtkGaussianCubeReader();
00051   ~vtkGaussianCubeReader();
00052 
00053   char *FileName;
00054   vtkTransform *Transform;
00055 
00056   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00057   virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00058   
00059   void ReadSpecificMolecule(FILE* fp);
00060 
00061   virtual int FillOutputPortInformation(int, vtkInformation*);
00062 private:
00063   vtkGaussianCubeReader(const vtkGaussianCubeReader&);  // Not implemented.
00064   void operator=(const vtkGaussianCubeReader&);  // Not implemented.
00065 };
00066 
00067 #endif

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