VTK  9.1.0
Macros | Functions
vtkTypeTraits.h File Reference
#include "vtkSystemIncludes.h"
Include dependency graph for vtkTypeTraits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VTK_TYPE_TRAITS(type, macro, isSigned, name, print, format)
 
#define VTK_TYPE_NAME_FLOAT   float
 
#define VTK_TYPE_NAME_DOUBLE   double
 
#define VTK_TYPE_SIZED_FLOAT   FLOAT32
 
#define VTK_TYPE_SIZED_DOUBLE   FLOAT64
 
#define VTK_TYPE_NAME_CHAR   char
 
#define VTK_TYPE_SIZED_CHAR   UINT8
 
#define VTK_TYPE_NAME_SIGNED_CHAR   signed char
 
#define VTK_TYPE_NAME_UNSIGNED_CHAR   unsigned char
 
#define VTK_TYPE_SIZED_SIGNED_CHAR   INT8
 
#define VTK_TYPE_SIZED_UNSIGNED_CHAR   UINT8
 
#define VTK_TYPE_NAME_SHORT   short
 
#define VTK_TYPE_NAME_UNSIGNED_SHORT   unsigned short
 
#define VTK_TYPE_SIZED_SHORT   INT16
 
#define VTK_TYPE_SIZED_UNSIGNED_SHORT   UINT16
 
#define VTK_TYPE_NAME_INT   int
 
#define VTK_TYPE_NAME_UNSIGNED_INT   unsigned int
 
#define VTK_TYPE_SIZED_INT   INT32
 
#define VTK_TYPE_SIZED_UNSIGNED_INT   UINT32
 
#define VTK_TYPE_NAME_LONG   long
 
#define VTK_TYPE_NAME_UNSIGNED_LONG   unsigned long
 
#define VTK_TYPE_NAME_LONG_LONG   long long
 
#define VTK_TYPE_NAME_UNSIGNED_LONG_LONG   unsigned long long
 
#define VTK_TYPE_NAME_ID_TYPE   vtkIdType
 
#define VTK_TYPE_SIZED_ID_TYPE   INT32
 

Functions

 VTK_TYPE_TRAITS (float, FLOAT, 1, Float32, float, "%f")
 
 VTK_TYPE_TRAITS (double, DOUBLE, 1, Float64, double, "%lf")
 
 VTK_TYPE_TRAITS (char, CHAR, 0, UInt8, unsigned short, "%hu")
 
 VTK_TYPE_TRAITS (signed char, SIGNED_CHAR, 1, Int8, short, "%hd")
 
 VTK_TYPE_TRAITS (unsigned char, UNSIGNED_CHAR, 0, UInt8, unsigned short, "%hu")
 
 VTK_TYPE_TRAITS (short, SHORT, 1, Int16, short, "%hd")
 
 VTK_TYPE_TRAITS (unsigned short, UNSIGNED_SHORT, 0, UInt16, unsigned short, "%hu")
 
 VTK_TYPE_TRAITS (int, INT, 1, Int32, int, "%d")
 
 VTK_TYPE_TRAITS (unsigned int, UNSIGNED_INT, 0, UInt32, unsigned int, "%u")
 

Macro Definition Documentation

◆ VTK_TYPE_TRAITS

#define VTK_TYPE_TRAITS (   type,
  macro,
  isSigned,
  name,
  print,
  format 
)

Definition at line 33 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_FLOAT

#define VTK_TYPE_NAME_FLOAT   float

Definition at line 73 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_DOUBLE

#define VTK_TYPE_NAME_DOUBLE   double

Definition at line 74 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_FLOAT

#define VTK_TYPE_SIZED_FLOAT   FLOAT32

Definition at line 75 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_DOUBLE

#define VTK_TYPE_SIZED_DOUBLE   FLOAT64

Definition at line 76 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_CHAR

#define VTK_TYPE_NAME_CHAR   char

Definition at line 82 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_CHAR

#define VTK_TYPE_SIZED_CHAR   UINT8

Definition at line 87 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_SIGNED_CHAR

#define VTK_TYPE_NAME_SIGNED_CHAR   signed char

Definition at line 90 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_UNSIGNED_CHAR

#define VTK_TYPE_NAME_UNSIGNED_CHAR   unsigned char

Definition at line 91 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_SIGNED_CHAR

#define VTK_TYPE_SIZED_SIGNED_CHAR   INT8

Definition at line 92 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_UNSIGNED_CHAR

#define VTK_TYPE_SIZED_UNSIGNED_CHAR   UINT8

Definition at line 93 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_SHORT

#define VTK_TYPE_NAME_SHORT   short

Definition at line 98 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_UNSIGNED_SHORT

#define VTK_TYPE_NAME_UNSIGNED_SHORT   unsigned short

Definition at line 99 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_SHORT

#define VTK_TYPE_SIZED_SHORT   INT16

Definition at line 100 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_UNSIGNED_SHORT

#define VTK_TYPE_SIZED_UNSIGNED_SHORT   UINT16

Definition at line 101 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_INT

#define VTK_TYPE_NAME_INT   int

Definition at line 106 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_UNSIGNED_INT

#define VTK_TYPE_NAME_UNSIGNED_INT   unsigned int

Definition at line 107 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_INT

#define VTK_TYPE_SIZED_INT   INT32

Definition at line 108 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_UNSIGNED_INT

#define VTK_TYPE_SIZED_UNSIGNED_INT   UINT32

Definition at line 109 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_LONG

#define VTK_TYPE_NAME_LONG   long

Definition at line 114 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_UNSIGNED_LONG

#define VTK_TYPE_NAME_UNSIGNED_LONG   unsigned long

Definition at line 115 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_LONG_LONG

#define VTK_TYPE_NAME_LONG_LONG   long long

Definition at line 131 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_UNSIGNED_LONG_LONG

#define VTK_TYPE_NAME_UNSIGNED_LONG_LONG   unsigned long long

Definition at line 132 of file vtkTypeTraits.h.

◆ VTK_TYPE_NAME_ID_TYPE

#define VTK_TYPE_NAME_ID_TYPE   vtkIdType

Definition at line 147 of file vtkTypeTraits.h.

◆ VTK_TYPE_SIZED_ID_TYPE

#define VTK_TYPE_SIZED_ID_TYPE   INT32

Definition at line 151 of file vtkTypeTraits.h.

Function Documentation

◆ VTK_TYPE_TRAITS() [1/9]

VTK_TYPE_TRAITS ( float  ,
FLOAT  ,
,
Float32  ,
float  ,
"%f"   
)

◆ VTK_TYPE_TRAITS() [2/9]

VTK_TYPE_TRAITS ( double  ,
DOUBLE  ,
,
Float64  ,
double  ,
"%lf"   
)

◆ VTK_TYPE_TRAITS() [3/9]

VTK_TYPE_TRAITS ( char  ,
CHAR  ,
,
UInt8  ,
unsigned short  ,
"%hu"   
)

◆ VTK_TYPE_TRAITS() [4/9]

VTK_TYPE_TRAITS ( signed char  ,
SIGNED_CHAR  ,
,
Int8  ,
short  ,
"%hd"   
)

◆ VTK_TYPE_TRAITS() [5/9]

VTK_TYPE_TRAITS ( unsigned char  ,
UNSIGNED_CHAR  ,
,
UInt8  ,
unsigned short  ,
"%hu"   
)

◆ VTK_TYPE_TRAITS() [6/9]

VTK_TYPE_TRAITS ( short  ,
SHORT  ,
,
Int16  ,
short  ,
"%hd"   
)

◆ VTK_TYPE_TRAITS() [7/9]

VTK_TYPE_TRAITS ( unsigned short  ,
UNSIGNED_SHORT  ,
,
UInt16  ,
unsigned short  ,
"%hu"   
)

◆ VTK_TYPE_TRAITS() [8/9]

VTK_TYPE_TRAITS ( int  ,
INT  ,
,
Int32  ,
int  ,
"%d"   
)

◆ VTK_TYPE_TRAITS() [9/9]

VTK_TYPE_TRAITS ( unsigned int  ,
UNSIGNED_INT  ,
,
UInt32  ,
unsigned int  ,
"%u"   
)