Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 =========================================================================*/
00042 #ifndef __vtkGaussianCubeReader_h
00043 #define __vtkGaussianCubeReader_h
00044 
00045 #include "vtkMoleculeReaderBase.h"
00046 
00047 class vtkImageData;
00048 class vtkTransform;
00049 
00050 class VTK_IO_EXPORT vtkGaussianCubeReader : public vtkMoleculeReaderBase 
00051 {
00052 public:
00053   static vtkGaussianCubeReader *New();
00054   vtkTypeRevisionMacro(vtkGaussianCubeReader,vtkMoleculeReaderBase);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00056 
00057   vtkGetObjectMacro(Transform,vtkTransform);
00058   vtkSetStringMacro(FileName);
00059   vtkGetStringMacro(FileName);
00060   vtkImageData *GetGridOutput();
00061 
00062 protected:
00063   vtkGaussianCubeReader();
00064   ~vtkGaussianCubeReader();
00065 
00066   char *FileName;
00067   vtkTransform *Transform;
00068 
00069   void Execute();
00070   void ExecuteInformation();
00071   
00072   void ReadSpecificMolecule(FILE* fp);
00073 
00074   virtual int FillOutputPortInformation(int, vtkInformation*);
00075 private:
00076   vtkGaussianCubeReader(const vtkGaussianCubeReader&);  // Not implemented.
00077   void operator=(const vtkGaussianCubeReader&);  // Not implemented.
00078 };
00079 
00080 #endif