1. 16 May, 2012 2 commits
    • Chris Harris's avatar
      Update build sytem to include vtkMPIImageReader · e24f8f36
      Chris Harris authored
      Update CMakeLists.txt, export header and remove use of
      VTK_USE_MPI
      
      Change-Id: Ic58d09eb3eab5682fd94408bfc4597bb5911a781
      e24f8f36
    • Chris Harris's avatar
      Restore vtkMPIImageReader · 3c357e55
      Chris Harris authored
      This class was deleted during the vtkPNrrdReader refactor.
      However, this may be used outside VTK by ParaView. Restoring
      this class means there is now duplicate code in vtkPNrrdReader.
      This should be refactored if possible in the future.
      
      Change-Id: I9aeba3deb3598e0ce7951024664a664e2cabc5c8
      3c357e55
  2. 15 May, 2012 2 commits
    • Chris Harris's avatar
      Refactor vtkPNrrReader into parallel and non parallel version · 1c383f1c
      Chris Harris authored
      The idea here is to have a base class vtkNrrdReader that can be
      used without MPI and contains no #ifdefs. The subclass vtkPNrrdReader
      is an MPI version. The object factory overrides are then used to
      create the correct version depending on whether you link to the
      parallel module. In order todo this the MPI code from vtkMPIImageReader
      has to be pushed down into vtkPNrrdReader. vtkMPIImageReader has been
      removed.
      
      Change-Id: I4839c72711333ddbd8a79056391299a8c420ed21
      1c383f1c
    • Chris Harris's avatar
      Rename IO/ParallelMPI to IO/MPIImage · ef1c817c
      Chris Harris authored
      Rename to reflect that this is the MPI implementation
      of classes in IO/Image
      
      Change-Id: I6f9205c4e3604126a58359439b01973d52ed256d
      ef1c817c
  3. 10 May, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Created new vtk*NewMacros to replace some factories · 98ddb3e1
      Marcus D. Hanwell authored
      Factored the vtkStandardNewMacro into a VTK_STANDARD_NEW_BODY macro and
      a vtkStandardNewMacro. Also introduced vtkObjectFactoryNewMacro and
      vtkAbstractObjectFactoryNewMacro in order to replace the functionality
      present in some of the hard coded factories remaining from before VTK
      modularization.
      
      The vtkObjectFactoryNewMacro does what the vtkStandardNewMacro did
      previously (and will continue to do if the VTK_ALL_NEW_OBJECT_FACTORY
      option is turned on) - use the object factory override of the new method
      of the class. The vtkAbstractObjectFactoryNewMacro will attempt to
      return a class from the vtkObjectFactory::CreateInstance method, or
      return NULL if there are no overrides, i.e. the behavior of the
      vtkGraphicsFactory which is necesasary for abstract base classes like
      vtkRenderWindow.
      
      The VTK_ALL_NEW_OBJECT_FACTORY method allows VTK to be compiled with the
      previous behavior of all New methods using the object factory. A new
      static method was added to vtkObjectFactory largely for pragmatic
      reasons - all of those implementations already include vtkObjectFactory
      but not vtkDebugLeaks and so this reduces the change necessary to still
      work with VTK_DEBUG_LEAKS when that option is on.
      
      Change-Id: I06f713d70fc6d97ae086186c424a78f524592a4d
      98ddb3e1
  4. 09 May, 2012 2 commits
  5. 08 May, 2012 11 commits
  6. 07 May, 2012 15 commits
  7. 06 May, 2012 2 commits
  8. 05 May, 2012 5 commits