VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMoleculeToAtomBallFilter.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 =========================================================================*/ 00033 #ifndef __vtkMoleculeToAtomBallFilter_h 00034 #define __vtkMoleculeToAtomBallFilter_h 00035 00036 #include "vtkDomainsChemistryModule.h" // For export macro 00037 #include "vtkMoleculeToPolyDataFilter.h" 00038 00039 class vtkMolecule; 00040 00041 class VTKDOMAINSCHEMISTRY_EXPORT vtkMoleculeToAtomBallFilter 00042 : public vtkMoleculeToPolyDataFilter 00043 { 00044 public: 00045 vtkTypeMacro(vtkMoleculeToAtomBallFilter,vtkMoleculeToPolyDataFilter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00048 static vtkMoleculeToAtomBallFilter *New(); 00049 00050 enum { 00051 CovalentRadius = 0, 00052 VDWRadius, 00053 UnitRadius 00054 }; // TODO Custom radii from array/fieldData 00055 00056 vtkGetMacro(RadiusSource, int); 00057 vtkSetMacro(RadiusSource, int); 00058 00059 vtkGetMacro(Resolution, int); 00060 vtkSetMacro(Resolution, int); 00061 00062 vtkGetMacro(RadiusScale, double); 00063 vtkSetMacro(RadiusScale, double); 00064 00065 protected: 00066 vtkMoleculeToAtomBallFilter(); 00067 ~vtkMoleculeToAtomBallFilter(); 00068 00069 int RequestData(vtkInformation *, vtkInformationVector **, 00070 vtkInformationVector *); 00071 00072 int Resolution; 00073 double RadiusScale; 00074 int RadiusSource; 00075 00076 private: 00077 vtkMoleculeToAtomBallFilter(const vtkMoleculeToAtomBallFilter&); // Not implemented. 00078 void operator=(const vtkMoleculeToAtomBallFilter&); // Not implemented. 00079 }; 00080 00081 #endif