[MOAB-dev] r5809 - in MOAB/trunk/tools: . vtkMOABReaderNew

obara at mcs.anl.gov obara at mcs.anl.gov
Fri Oct 19 08:32:34 CDT 2012


Author: obara
Date: 2012-10-19 08:32:34 -0500 (Fri, 19 Oct 2012)
New Revision: 5809

Added:
   MOAB/trunk/tools/vtkMOABReaderNew/
   MOAB/trunk/tools/vtkMOABReaderNew/CMakeLists.txt
   MOAB/trunk/tools/vtkMOABReaderNew/CellTypeToType.h
   MOAB/trunk/tools/vtkMOABReaderNew/DataSetConverter.h
   MOAB/trunk/tools/vtkMOABReaderNew/MixedCellConnectivity.h
   MOAB/trunk/tools/vtkMOABReaderNew/SimpleMoab.h
   MOAB/trunk/tools/vtkMOABReaderNew/vtkMoabReader.cxx
   MOAB/trunk/tools/vtkMOABReaderNew/vtkMoabReader.h
   MOAB/trunk/tools/vtkMOABReaderNew/vtkMoabReader.xml
   MOAB/trunk/tools/vtkMOABReaderNew/vtkMoabReaderGUI.xml
Log:
New vtkMoabReader Added that could be used to replace the existing one

Added: MOAB/trunk/tools/vtkMOABReaderNew/CMakeLists.txt
===================================================================
--- MOAB/trunk/tools/vtkMOABReaderNew/CMakeLists.txt	                        (rev 0)
+++ MOAB/trunk/tools/vtkMOABReaderNew/CMakeLists.txt	2012-10-19 13:32:34 UTC (rev 5809)
@@ -0,0 +1,30 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2 FATAL_ERROR)
+
+project(vtkMoabReader)
+
+find_library(MOAB_LIBRARY MOAB REQUIRED)
+
+# If SiMBA is installed, use SiMBA/bld/install/include for MOAB_INCLUDE_DIRS
+find_path(MOAB_INCLUDE_DIRS Core.hpp REQUIRED)
+include_directories(${MOAB_INCLUDE_DIRS})
+
+
+find_package(ParaView REQUIRED)
+include(${PARAVIEW_USE_FILE})
+include_directories(${PARAVIEW_INCLUDE_DIRS})
+
+set(headers
+  SimpleMoab.h
+  CellTypeToType.h
+  DataSetConverter.h
+  MixedCellConnectivity.h
+  )
+
+add_paraview_plugin(vtkMoabReaderPlugin "5.0"
+   SERVER_MANAGER_XML vtkMoabReader.xml
+   SERVER_MANAGER_SOURCES vtkMoabReader.cxx
+   SERVER_SOURCES ${headers}
+   GUI_RESOURCE_FILES vtkMoabReaderGUI.xml)
+
+target_link_libraries(vtkMoabReaderPlugin
+                      ${MOAB_LIBRARY})


Property changes on: MOAB/trunk/tools/vtkMOABReaderNew/CMakeLists.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Author Date ID Revision
Added: svn:eol-style
   + native

Added: MOAB/trunk/tools/vtkMOABReaderNew/CellTypeToType.h
===================================================================
--- MOAB/trunk/tools/vtkMOABReaderNew/CellTypeToType.h	                        (rev 0)
+++ MOAB/trunk/tools/vtkMOABReaderNew/CellTypeToType.h	2012-10-19 13:32:34 UTC (rev 5809)
@@ -0,0 +1,59 @@


More information about the moab-dev mailing list