VTK  9.1.0
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.
24template <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
39vtkMPIPixelTTMacro1(unsigned char);
41vtkMPIPixelTTMacro1(unsigned short);
43vtkMPIPixelTTMacro1(unsigned int);
45vtkMPIPixelTTMacro1(unsigned long);
48// vtkMPIPixelTTMacro1(vtkIdType);
50vtkMPIPixelTTMacro1(unsigned long long);
51
52#endif
53// VTK-HeaderTest-Exclude: vtkMPIPixelTT.h
#define vtkMPIPixelTTMacro1(_ctype)
Definition: vtkMPIPixelTT.h:27