VTK: Rendering/ParallelLIC/vtkMPIPixelTT.h Source File

| VTK 9.3.1

vtkMPIPixelTT.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkMPIPixelTT_h
4 #define vtkMPIPixelTT_h
5
6 #include "vtkMPI.h"
7 #include "vtkType.h" // for vtk types
8
9 // Description:
10 // Traits class for converting from vtk data type enum
11 // to the appropriate C or MPI datatype.
12 VTK_ABI_NAMESPACE_BEGIN
13 template <typename T>
14 class vtkMPIPixelTT;
15
16 #define vtkMPIPixelTTMacro1(_ctype) \
17 template <> \
18 class vtkMPIPixelTT<_ctype> \
19 { \
20 public: \
21 static MPI_Datatype MPIType; \
22 static int VTKType; \
23 }
24
25 vtkMPIPixelTTMacro1(void);
26 vtkMPIPixelTTMacro1(char);
27 vtkMPIPixelTTMacro1(signed char);
28 vtkMPIPixelTTMacro1(unsigned char);
29 vtkMPIPixelTTMacro1(short);
30 vtkMPIPixelTTMacro1(unsigned short);
31 vtkMPIPixelTTMacro1(int);
32 vtkMPIPixelTTMacro1(unsigned int);
33 vtkMPIPixelTTMacro1(long);
34 vtkMPIPixelTTMacro1(unsigned long);
35 vtkMPIPixelTTMacro1(float);
36 vtkMPIPixelTTMacro1(double);
37 // vtkMPIPixelTTMacro1(vtkIdType);
38 vtkMPIPixelTTMacro1(long long);
39 vtkMPIPixelTTMacro1(unsigned long long);
40
41 VTK_ABI_NAMESPACE_END
42 #endif
43 // VTK-HeaderTest-Exclude: vtkMPIPixelTT.h
vtkMPIPixelTT
Definition: vtkMPIPixelTT.h:14
vtkMPIPixelTTMacro1
#define vtkMPIPixelTTMacro1(_ctype)
Definition: vtkMPIPixelTT.h:16
vtkType.h