VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkFloatingPointExceptions.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 =========================================================================*/ 00025 #ifndef __vtkFloatingPointExceptions_h 00026 #define __vtkFloatingPointExceptions_h 00027 00028 #include "vtkCommonCoreModule.h" // For export macro 00029 #include "vtkSystemIncludes.h" // For VTKCOMMONCORE_EXPORT 00030 00031 class VTKCOMMONCORE_EXPORT vtkFloatingPointExceptions 00032 { 00033 public: 00035 static void Enable(); 00036 00038 static void Disable(); 00039 00040 private: 00041 vtkFloatingPointExceptions(); // Not implemented. 00042 vtkFloatingPointExceptions(const vtkFloatingPointExceptions&); // Not implemented. 00043 void operator=(const vtkFloatingPointExceptions&); // Not implemented. 00044 }; 00045 00046 #endif 00047 // VTK-HeaderTest-Exclude: vtkFloatingPointExceptions.h