/*========================================================================= Program: Visualization Toolkit Module: vtkTryDowncast.h ------------------------------------------------------------------------- Copyright 2008 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. ------------------------------------------------------------------------- Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef vtkTryDowncast_h #define vtkTryDowncast_h #include "vtkDenseArray.h" #include "vtkSmartPointer.h" #include "vtkSparseArray.h" #include #include #include // These are lists of standard VTK types. End-users will have to choose these when they implement // their algorithms. // Description: // Enumerates all integer VTK types typedef boost::mpl::vector vtkIntegerTypes; // Description: // Enumerates all floating-point VTK types typedef boost::mpl::vector vtkFloatingPointTypes; // Description: // Enumerates all numeric VTK types typedef boost::mpl::joint_view vtkNumericTypes; // Description: // Enumerates all string VTK types typedef boost::mpl::vector vtkStringTypes; // Description: // Enumerates all VTK types typedef boost::mpl::joint_view vtkAllTypes; // End-users can ignore these, they're the guts of the beast ... template