moab
VtkUtil.hpp
Go to the documentation of this file.
00001 
00016 #ifndef VTK_UTIL_HPP
00017 #define VTK_UTIL_HPP
00018 
00019 #include "moab/EntityType.hpp"
00020 
00021 namespace moab {
00022 
00027 struct VtkElemType
00028 {
00029   const char* name;            
00030   unsigned vtk_type;           
00031   EntityType mb_type;        
00032   unsigned num_nodes;          
00033   const unsigned* node_order;  
00034 
00035 
00036 
00037 
00038 };
00039 
00042 class VtkUtil 
00043 {
00044 
00045 public:
00047   static const char *vtkTypeNames[];
00048   
00051   static const VtkElemType vtkElemTypes[];
00052   
00054   static const unsigned numVtkElemType;
00055   
00058   static const VtkElemType* get_vtk_type( EntityType type, unsigned num_nodes );
00059 };
00060 
00061 } // namespace moab
00062 
00063 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines