VTK  9.0.1
vtkMPIPixelTT.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMPIPixelTT.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 =========================================================================*/
15 #ifndef vtkMPIPixelTT_h
16 #define vtkMPIPixelTT_h
17 
18 #include "vtkMPI.h"
19 #include "vtkType.h" // for vtk types
20 
21 // Description:
22 // Traits class for converting from vtk data type enum
23 // to the appropriate C or MPI datatype.
24 template <typename T>
26 
27 #define vtkMPIPixelTTMacro1(_ctype) \
28  template <> \
29  class vtkMPIPixelTT<_ctype> \
30  { \
31  public: \
32  static MPI_Datatype MPIType; \
33  static int VTKType; \
34  }
35 
38 vtkMPIPixelTTMacro1(signed char);
39 vtkMPIPixelTTMacro1(unsigned char);
40 vtkMPIPixelTTMacro1(short);
41 vtkMPIPixelTTMacro1(unsigned short);
43 vtkMPIPixelTTMacro1(unsigned int);
45 vtkMPIPixelTTMacro1(unsigned long);
46 vtkMPIPixelTTMacro1(float);
47 vtkMPIPixelTTMacro1(double);
48 // vtkMPIPixelTTMacro1(vtkIdType);
49 vtkMPIPixelTTMacro1(long long);
50 vtkMPIPixelTTMacro1(unsigned long long);
51 
52 #endif
53 // VTK-HeaderTest-Exclude: vtkMPIPixelTT.h
vtkMPIPixelTT
Definition: vtkMPIPixelTT.h:25
vtkType.h
vtkMPIPixelTTMacro1
#define vtkMPIPixelTTMacro1(_ctype)
Definition: vtkMPIPixelTT.h:27