VTK
9.2.6
Common
Core
vtkFloatingPointExceptions.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFloatingPointExceptions.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
28
29
#ifndef vtkFloatingPointExceptions_h
30
#define vtkFloatingPointExceptions_h
31
32
#include "vtkCommonCoreModule.h"
// For export macro
33
#include "
vtkSystemIncludes.h
"
// For VTKCOMMONCORE_EXPORT
34
35
class
VTKCOMMONCORE_EXPORT vtkFloatingPointExceptions
36
{
37
public
:
41
static
void
Enable
();
42
46
static
void
Disable
();
47
48
private
:
49
vtkFloatingPointExceptions() =
delete
;
50
vtkFloatingPointExceptions(
const
vtkFloatingPointExceptions&) =
delete
;
51
void
operator=(
const
vtkFloatingPointExceptions&) =
delete
;
52
};
53
54
#endif
55
// VTK-HeaderTest-Exclude: vtkFloatingPointExceptions.h
vtkFloatingPointExceptions::Disable
static void Disable()
Disable floating point exceptions.
vtkFloatingPointExceptions::Enable
static void Enable()
Enable floating point exceptions.
vtkSystemIncludes.h
Generated on Thu Feb 27 2025 00:00:00 for VTK by
1.13.2