VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkSimpleBondPerceiver.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 =========================================================================*/ 00036 #ifndef __vtkSimpleBondPerceiver_h 00037 #define __vtkSimpleBondPerceiver_h 00038 00039 #include "vtkMoleculeAlgorithm.h" 00040 00041 class vtkDataSet; 00042 class vtkMolecule; 00043 00044 class VTK_CHEMISTRY_EXPORT vtkSimpleBondPerceiver : 00045 public vtkMoleculeAlgorithm 00046 { 00047 public: 00048 static vtkSimpleBondPerceiver *New(); 00049 vtkTypeMacro(vtkSimpleBondPerceiver,vtkMoleculeAlgorithm); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 00054 vtkSetMacro(Tolerance, float); 00055 vtkGetMacro(Tolerance, float); 00057 00058 protected: 00059 vtkSimpleBondPerceiver(); 00060 ~vtkSimpleBondPerceiver(); 00061 00063 00065 virtual int RequestData(vtkInformation* request, 00066 vtkInformationVector** inputVector, 00067 vtkInformationVector* outputVector); 00069 00070 float Tolerance; 00071 00072 private: 00073 vtkSimpleBondPerceiver(const vtkSimpleBondPerceiver&); // Not implemented. 00074 void operator=(const vtkSimpleBondPerceiver&); // Not implemented. 00075 }; 00076 00077 #endif