1. 04 Mar, 2016 1 commit
  2. 02 Nov, 2015 1 commit
  3. 13 Jul, 2015 1 commit
    • Dan Lipsa's avatar
      ENH: CanReadFile does not fail for newer file version. · 4e531cd0
      Dan Lipsa authored
      CanReadFile does not fail for newer file versions to enable clients (ParaView)
      to distinguish between reader failures caused by a mismatch between the file
      and the reader, and reader failures that cannot be fixed by changing the reader.
      
      A warning will be printed when reading a file with a newer version than the reader.
      
      Legacy readers already behave this way.
      4e531cd0
  4. 18 Dec, 2014 1 commit
  5. 29 Aug, 2014 1 commit
  6. 13 Mar, 2014 3 commits
    • Brad King's avatar
      IO/XML: Fix HeaderTest for this module · f2a2eeab
      Brad King authored
      Comment reason for <string> inclusion.
      
      Change-Id: I7e0b1d7bd52a3ee66f5d078f330520bb7e6461a2
      f2a2eeab
    • Brad King's avatar
      IO/XML: Add missing <string> include · 4327fceb
      Brad King authored
      Now that <sstream> is not included we need <string> to get std::string
      when compiling Java wrapper sources.
      
      Change-Id: I5b36410f8bdb2e13c497b0adaa11e95142fd56a0
      4327fceb
    • Brad King's avatar
      IO/XML: Remove unnecessary <sstream> include · d8a74423
      Brad King authored
      The VTK standard headers include <iosfwd> and make std::istringstream
      available for use as an incomplete type.  That is all vtkXMLReader.h
      needs.  Remove the extra <sstream> include.
      
      In particular, by including it before the VTK headers it causes system
      headers to be included with inconsistent Large File Support definitions
      on AIX, leading to runtime shared library unresolved symbols.  Remove
      the inclusion to fix this.
      
      Change-Id: I78ec9efae24c8f721f079ab8946afcde413fe17f
      d8a74423
  7. 06 Mar, 2014 1 commit
  8. 15 Jan, 2014 1 commit
    • Berk Geveci's avatar
      Removed priority based streaming and fast path. · 575ebda2
      Berk Geveci authored
      Removed priority based streaming and fast path codes in
      preparation for future refactoring. These were polluting core
      classes despite having a small user base. In the future, they
      may be refactored into the appropriate subclasses and "plugins".
      
      Change-Id: I54562546688c6de468b0068e9b6c65e49c5ec269
      575ebda2
  9. 11 Nov, 2013 2 commits
  10. 19 Oct, 2012 1 commit
    • Berk Geveci's avatar
      Added getters for various data members and a wrapper hint. · bfa4110f
      Berk Geveci authored
      I exposed several data members through getters in order
      to be able to develop custom readers in Python. Also added a
      hint to export GetUpdateExtent() to Python. In this particular
      case, I am combining the XML reader and the MPIImageReader
      to read a structured grid. The XML reads the meta data, the
      MPIImageReader reads the appended data using MPI/IO.
      
      Change-Id: I7877ecc68f8b200f56ea258eca3bf871feccaaf5
      bfa4110f
  11. 09 Oct, 2012 1 commit
    • Utkarsh Ayachit's avatar
      Fixing XML reader/writer for AMR datasets. · 4b7c680c
      Utkarsh Ayachit authored
      Adding new classes vtkXMLUniformGridAMRDataWriter /
      vtkXMLPUniformGridAMRDataWriter based on vtkXMLHierarchicalBoxDataWriter /
      vtkXMLPHierarchicalBoxDataWriter to write all types of AMR datasets in VTK XML
      format. vtkXMLHierarchicalBoxDataWriter and vtkXMLPHierarchicalBoxDataWriter are
      now simply empty subclasses for backwards compatibility.
      
      The XML file format had to be extended to write enough meta-data to support
      loading of Overlapping AMR datasets correctly. Consequently, the version number
      was updated to 1.1.
      
      Adding vtkXMLUniformGridAMRReader for reading VTK XML files for AMR datasets
      (overlapping and nonoverlapping). Also added a new test TestAMRXMLIO.
      vtkXMLUniformGridAMRReader reader v1.1. For older versions, added a converter
      vtkXMLHierarchicalBoxDataFileConverter (and a test) that converts the xml to the
      new format. vtkXMLUniformGridAMRReader provides appropriate meta-data in
      RequestInformation() pass, similar to other AMR reader such as Flash/Enzo.
      
      vtkXMLGenericDataObjectReader has been updated to use
      vtkXMLUniformGridAMRReader for reading all types of AMR datasets.
      
      Change-Id: I3f143c266562f039a57a745835728c5750c8e463
      4b7c680c
  12. 09 Apr, 2012 3 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      2d323fc4
    • VTK Developers's avatar
      Include module-wide headers and export macros · 144f03ca
      VTK Developers authored
      Include the module-wide header from every header in each module.
      Reference the export/visibility macro for the module.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      144f03ca
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      cdd4d6fd
  13. 08 Mar, 2011 1 commit
  14. 22 Feb, 2011 1 commit
  15. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      ecbbf7f7
  16. 23 Apr, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · 19c55e0e
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      
      Automated as follows:
      
        pass 0:
        catch templates
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
      
        pass 1:
        main changes
        ---------------
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        done
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        done
      
        pass 2:
        verify
        ---------------
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.
      19c55e0e
  17. 19 Apr, 2010 1 commit
  18. 02 Oct, 2008 1 commit
    • Burlen Loring's avatar
      · 3d757406
      Burlen Loring authored
      ENH: EDF IPoints project commit.
      
      VTK/Graphics:
        CMakeLists.txt
          Added build commands for vtkQuadraturePointInterpolator,vtkQuadraturePointsGenerator,vtkQuadratureSchemeDictionaryGenerator filters.
      
        vtkQuadraturePointInterpolator.h
        vtkQuadraturePointInterpolator.cxx
          Filter which makes use of InformationQuadratureSchemeDefinitionVectorKey to interpolate fields to quadrature points.
      
        vtkQuadraturePointsGenerator.h
        vtkQuadraturePointsGenerator.cxx
          Filter which makes use of InformationQuadratureSchemeDefinitionVectorKey abnd field data arrays generated by QuadraturePointInterpolator to generate a point set of quadrature points.
      
        vtkQuadraturePointsUtilities.hxx
          Code shared between QuadraturePointInterpolator and QuadraturePointGenerator.
      
        vtkQuadratureSchemeDictionaryGenerator.cxx
        vtkQuadratureSchemeDictionaryGenerator.h
          Convinience filter that adds a gerneric dictionary to point data arrays in undtructured grids. This is used for testing, and should not be used for application development.
      
      VTK/GraphicsTesting/Cxx:
        CMakeLists.txt
        TestQuadraturePoints.cxx
          Added tests demonstarting the capability of the new QuadratureScheme* filters.
      
      VTK/IO:
        CmakeLists.txt
          Removed build command for vtkXMLDataElement.
      
        vtkXMLUtilities.h
        vtkXMLUtilities.cxx
        vtkXMLDataParser.h
        vtkXMLDataParser.cxx
        vtkXMLMaterialParser.cxx
          Moved method vtkXMLDataElement::ReadXMLAttributes to vtkXMLUtilities::ReadElementFromAttributeArray to emliminate cyclic dependency.
          Moved method from vtkXMLDataElement::SeekInlineDataPosition to vtkXMLDataParser::SeekInlineDataPosition to emliminate cyclic dependency.
          Set vtkXMLDataParser to parse CharacterData as tags may use it even though vtkDataArray tags now have specialized methods for reading inline and appended data.
      
        vtkXMLReader.h
        vtkXMLReader.cxx
        vtkXMLWriter.h
        vtkXMLWriter.cxx
          Added methods to save/restore vtkInformation associated with vtkAbstractArray's to/from XML data files. We only handle a single vtkInformationKey type as handling more generally will require a more substantial investment to work around C++'s static typing in a platform independent way.
      
      VTK/Common:
        CmakeLists.txt
          Added build command for vtkXMLDataElement
          Added build command for vtkInformationQuadratureSchemeDefinitionVectorKey
      
        vtkXMLDataElement.h
        vtkXMLDataElement.cxx
          Moved to Common from IO.
          Eliminated cyclic dependency with XML parsing classes.
      
        vtkInformationQuadratureSchemeDefinitionVectorKey.h
        vtkInformationQuadratureSchemeDefinitionVectorKey.cxx
          Replaced vtkInformationObjectBaseVectorKey with vtkInformationQuadratureSchemeDefinitionVectorKey to eliminate complications during de-serialization from XML due to C++'s static typing.
      
        vtkAbstractArray.h
        vtkAbstractArray.cxx
        vtkDataSetAttributes.h
        vtkDataSetAttributes.cxx
          Added support for vtkInformation to vtkDataSetAttributes copy methods.
          Changed vtkAbstractArray::SetInformation from protected to public.
      
        vtkMetaDataArray.h
        vtkMetaDataArray.cxx
          Removed from project. Use vtkInformation instead.
      
      VTK/Rendering:
        vtkTesting.h
        vtkTesting.cxx
          Addded dataset comparison via average L2 norm. Cleaned up command tail processing code.
      3d757406
  19. 10 Jun, 2008 1 commit
  20. 15 Feb, 2008 1 commit
  21. 10 Dec, 2007 1 commit
  22. 05 Jan, 2006 1 commit
    • Utkarsh Ayachit's avatar
      ENH: · fad86463
      Utkarsh Ayachit authored
      * vtkDataArray now has a new superclass-vtkAbstractArray.vtkAbstractArray
      provides type-agnostic API to access array elements. vtkDataArray provides
      a double API to access values -- such an API is deliberately missing from
      vtkAbstractArray, since arrays like string arrays are not castable to doubles.
      
      * vtkAbstractArray has the notion of components/tuples, but does not make
      any assumptions about the arragment of these. It's up to the concrete
      subclasses how the data is represented in memory.
      
      * vtkFieldData used to provide tuple API to get/set values from data arrays
      contained in it. However, now that FieldData can have arrays that are not
      vtkDataArrays, this API is not longer valid.
      The following are the methods that are no longer available:
      double* GetTuple(const vtkIdType);
      void SetTuple(const vtkIdType i, const double* tuple);
      void GetTuple(const vtkIdType i, double* tuple);
      void InsertTuple(const vtkIdType i, const double* tuple);
      void InsertNextTuple(cons double*);
      double GetComponent(const vtkIdType i, const int j);
      void SetComponent(const vtkIdType i, const int j, const double c);
      void InsertComponent(const vtkIdType i, const int j, const double c);
      However, new API is provided to copy tuples arround from one field data to
      another using:
      void SetTuple(const vtkIdType i, const vtkIdType j, vtkFieldData* source);
      void InsertTuple(const vtkIdType i, const vtkIdType j, vtkFieldData* source);
      vtkIdType InsertNextTuple(const vtkIdType j, vtkFieldData* source);
      
      * vtkFieldData provide a vtkDataArray* GetArray(int index) to retrieve arrays
      in the field data. This function can will now return a NULL if the array
      at the given index is not a data array. It provides
      vtkAbstractArray* GetAbstractArray(int index);
      to retrieve an array even if it isn't a vtkDataArray.
      
      * Since vtkFieldData can contain arrays that aren't subclasses of
      vtkDataArray, so can vtkDataSetAttributes. However, an attribute can only be
      a vtkDataArray subclass i.e. one cannot set a vtkStringArray as the SCALARS
      array for a Point Data, for example.
      
      * String Array IO is only supported in XML file formats. If deemed important,
      support may be added for lecacy file formats.
      
      *** Array Iterators ***
      Another addition to the VTK Arrays, is the notion of Array Iterator. A
      vtkArrayIterator subclass is be provided for every vtkAbstractArray
      subclass. The iterator is a random access iterator. The iterators are not
      available in any of the wrapped languages, however, in C++ they can be used to
      write templatized code to processes the array values without any implicit type
      conversion and consequent loss of precision. vtkArrayIteratorTemplateMacro is
      provided to simply switching between different types of the arrays. Examples of
      use of this macro and the iterators can be found in
      vtkXMLWriter.cxx / vtkXMLDataReader.cxx / vtkXMLStructuredDataReader.cxx.
      fad86463
  23. 29 Sep, 2005 1 commit
  24. 03 Aug, 2005 1 commit
    • Brad King's avatar
      BUG: Split ComputeDimensions method into ComputePointDimensions and... · 2aaf2edd
      Brad King authored
      BUG: Split ComputeDimensions method into ComputePointDimensions and ComputeCellDimensions.  Split ComputeIncrements method into ComputePointIncrements and ComputeCellIncrements.  Fixed the computation in these methods to deal with cell dimensions lower than 3.  This addresses bug#2081.
      2aaf2edd
  25. 30 May, 2005 1 commit
  26. 26 May, 2005 1 commit
  27. 23 May, 2005 1 commit
  28. 06 May, 2005 1 commit
  29. 05 Apr, 2005 1 commit
  30. 24 Mar, 2005 1 commit
  31. 23 Feb, 2005 1 commit
  32. 11 Feb, 2005 1 commit
  33. 14 Nov, 2003 1 commit
  34. 16 Jun, 2003 1 commit
  35. 10 Jun, 2003 1 commit