VTK
CellTypeAndDataType.h
Go to the documentation of this file.
1//=============================================================================
2//
3// Copyright (c) Kitware, Inc.
4// All rights reserved.
5// See LICENSE.txt for details.
6//
7// This software is distributed WITHOUT ANY WARRANTY; without even
8// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9// PURPOSE. See the above copyright notice for more information.
10//
11// Copyright 2012 Sandia Corporation.
12// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13// the U.S. Government retains certain rights in this software.
14//
15//=============================================================================
16
17#ifndef vtkToDax_CellTypeAndDataType_h
18#define vtkToDax_CellTypeAndDataType_h
19
20#include "vtkType.h"
21#include "vtkCellType.h"
22
23
24namespace vtkToDax
25{
26//By default we list any combination as being invalid
27template<int DataSetType, int CellType>
29{
30 enum{Valid=0};
31};
32
33//we than specialize all the valid combinations of dataset and cell types
34//that Dax currently supports
37
44
46}
47
48
49#endif // vtkToDax_CellTypeAndDataType_h
@ VTK_VOXEL
Definition: vtkCellType.h:56
@ VTK_TRIANGLE
Definition: vtkCellType.h:50
@ VTK_TETRA
Definition: vtkCellType.h:55
@ VTK_LINE
Definition: vtkCellType.h:48
@ VTK_WEDGE
Definition: vtkCellType.h:58
@ VTK_HEXAHEDRON
Definition: vtkCellType.h:57
@ VTK_QUAD
Definition: vtkCellType.h:54
#define VTK_UNIFORM_GRID
Definition: vtkType.h:97
#define VTK_IMAGE_DATA
Definition: vtkType.h:93
#define VTK_UNSTRUCTURED_GRID
Definition: vtkType.h:91
#define VTK_STRUCTURED_GRID
Definition: vtkType.h:89