1. 12 Mar, 2012 1 commit
  2. 10 Mar, 2012 1 commit
    • George Zagaris's avatar
      COMP: Replace fmin/fmax with min/max for Windows · cabddd28
      George Zagaris authored
      Looking a little deeper in to this it turns out that fmin/fmax
      introduced in C99 is not supported by VC++. VC++ does not implement
      all the provisions. Replaced those calls with std::min, std::max
      defined by STL algorithm which should hopefuly resolve this issue
      on windows.
      
      Change-Id: Id1df0874fe2ec93f84ee8d872a629f018fcd49e2
      cabddd28
  3. 09 Mar, 2012 2 commits
  4. 07 Mar, 2012 2 commits
  5. 21 Feb, 2012 1 commit
    • George Zagaris's avatar
      COMP: Fix compiler warnings · 3932b848
      George Zagaris authored
      Fix compiler warnings due to unused variables and comparissons between
      signed/unsigned.
      
      Change-Id: I664733c0b4f41ed9034c63b0f5b93492bb7fb616
      3932b848
  6. 16 Feb, 2012 3 commits
    • George Zagaris's avatar
      BUGFIX: Fix memory leak in RequestInformation · e9641beb
      George Zagaris authored
      The code was creating a new instance of vtkOverlappingAMR everytime
      RequestInformation was called which would then ShallowCopy() the
      metadata coming from upstream. This could lead to creation of multiple
      instance of vtkOverlappingAMR that are not properly deallocated and
      hence lead to leaks. Instead, the code does not allocate a new instance
      but, simply updates the point to point to the metadata object coming from
      upstream.
      
      Change-Id: I244a4e3c9c57237fa99042d9bc11f229a8aa9d5c
      e9641beb
    • George Zagaris's avatar
      BUGFIX: Delete AMR metadata · c3b6eb24
      George Zagaris authored
      Fixed a memory leak caused by not de-allocating the AMR metadata.
      
      Change-Id: Ic5bda5c9a7c06bf85d4bd51ce35e35f1e2dc39e3
      c3b6eb24
    • George Zagaris's avatar
      ENH:Make AMRResampler a vtkOverlappingAMRAlgorithm · 4a7a1b4f
      George Zagaris authored
      Change-Id: I81a3f8add9cac92b59d80f448d2f75d425aec525
      4a7a1b4f
  7. 22 Dec, 2011 1 commit
    • Bob Obara's avatar
      ENH: Added a biasing vector to resample filter · 117a743a
      Bob Obara authored
      This will force the biased direction not to have the
      greatest number of samples.  A common use for this would be to use
      a camera's direction of projection as the bias
      
      Change-Id: I540d5759bb5f158799c3df058f619592527eec0d
      117a743a
  8. 21 Dec, 2011 2 commits
    • Bob Obara's avatar
      BUG: Fixed assert statement · 1b084dcb
      Bob Obara authored
      This is concerning the number of blocks and the number of processors -
      it failed to take into consideration that there can be less blocks
      
      Change-Id: Ice62166a5543b61dd9deced267b744b705f3cfe0
      1b084dcb
    • Bob Obara's avatar
      ENH: Now uses Parent/Child Information when doing point searches · 39809519
      Bob Obara authored
      Uses the information if it exists - NOTE: that in the case of a
      graph it currently only searches one parent!
      
      Change-Id: I7f966b5ac29a3c29616b51f66e30f924e6375e4c
      39809519
  9. 13 Dec, 2011 1 commit
  10. 12 Dec, 2011 1 commit
  11. 09 Dec, 2011 2 commits
    • Bob Obara's avatar
      BUG: Fixed problem when probing from coarse to fine · 13f0565e
      Bob Obara authored
      The searching process must stop as soon as it finds a grid that owns
      the point
      
      Change-Id: If49316c249681d00f5d8831422200b4f57406ff1
      13f0565e
    • Bob Obara's avatar
      ENH: Improved AMR Resampling speed · d6bd91ec
      Bob Obara authored
      1. The Number of samples is set to the min of the estimated grid sizes
      2. If the requested point is not in a previously found level the
      courser levels are searched starting with the refiner ones
      
      Change-Id: I3afa7b7ee9accd7d9f277680ddf635ca7bb8769a
      d6bd91ec
  12. 08 Dec, 2011 4 commits
  13. 07 Dec, 2011 3 commits
  14. 05 Dec, 2011 2 commits
    • Bob Obara's avatar
      ENH: Cleaned-up the AMR Resample Filter · fb852700
      Bob Obara authored
      1. Renamed VOICHanged to MinMaxChanged to better reflect this is set
      when the Min/Max values have been set <--- This is probably not needed
      since the ModifiedTime should deal with this.  The default value was
      changed to true since when the object is initialy created the values
      should be considered changed
      
      2. Created new member data (GridMin, GridMax, GridNumberOfSamples) to
      avoid the instance changing the user specified (Min, Max, and
      NumberOfSamples).  This prevents the filter from re-executing if the
      application sets the same values between updates.
      
      3. ComputeAndAdjustRegionParameters is always called using the metadata
      
      4. Changed SnapBounds not to force the grid to include index (0,0,0) if
      it didn't need to.
      
      5. Did some general clean-up
      
      Change-Id: Iea9d56672d28367e36ea7b7f1e8115986939a63b
      fb852700
    • George Zagaris's avatar
      WIP: Modify Resample filter to produce image data · f8785383
      George Zagaris authored
      Modified the resample filter to procude image data.
      Also, fixed indentation style and one-line ifs.
      
      Conflicts:
      
      	AMR/vtkAMRResampleFilter.cxx
      	VolumeRendering/vtkAMRVolumeMapper.cxx
      f8785383
  15. 30 Nov, 2011 1 commit
    • Bob Obara's avatar
      ENH: Improved Resample Filter Speed · dae0a92a
      Bob Obara authored
      If a previous grid does not contain the current point then the
      level containing the grid is tested.  If the level does contain the
      point the newly found grid is used that and the next level is tested
      Else the level is reset to 0 and the max level is set to 1 below
      the previous level.
      
      Also added a trivial bounds test.
      
      Also fixed a bug that caused the resulting uniform grid to be
      larger than the requested resolution.
      
      Change-Id: I83656837ae2cf0e63d96a3f00d4db06ecc6ff3e7
      dae0a92a
  16. 14 Nov, 2011 3 commits
    • George Zagaris's avatar
      ENH: Faster probing algorithm & modularization · b9dbcdad
      George Zagaris authored
      This commit introduces a new probing algorithm for transfering the
      solution to the requested re-sampled grid. The main features of the
      algorithm are as follows:
      
      (1) Use a previously found grid and its level as a starting point for the search otherwise,
      start from level 0.
      
      (2) Break from the main search loop as soon as possible. If a grid that satisfies the
      query is found at level k, but not in level k+1, use the solution at level k and exit.
      Note, this condition guarantees that at any level > k+1 we are not going to find a grid
      that satisfies the given query.
      b9dbcdad
    • George Zagaris's avatar
      STYLE: Conform to VTK's standards · e6d5e006
      George Zagaris authored
      Changed code stly to conform to VTK's standards.
      e6d5e006
    • George Zagaris's avatar
      WIP:Improve the performance of resampling · de351f01
      George Zagaris authored
      Changed algorithm to cache and check the previously found
      grid that contained the query point on the uniform grid for
      the next point.
      de351f01
  17. 11 Nov, 2011 1 commit
  18. 10 Nov, 2011 2 commits
    • George Zagaris's avatar
      BUGFIX: Correct initialization · fba2b24a
      George Zagaris authored
      Added code that will cause the ComputeAndAdjustRegionParameters to
      return an empty dataset when it is first called. ComputeAndAdjustParameters
      is first called in GetInformation (if we are in demand-driven mode).
      At this point, the user has not requested a region and hence N becomes 2.
      In order, to get the correct value of N and proper behavior, the user had to
      change the number of samples in the GUI, e.g., say to 5 and then change it
      back to 10. Thereafter the filter would work as expected. This commit will
      cause the filter to essentially ignore the first time it is being called.
      fba2b24a
    • George Zagaris's avatar
      ENH: Dynamic adjustment of N · 212c0bb9
      George Zagaris authored
      This commit introduces code to dynamically adjust N after the
      region is snapped to fit inside the domain as well as handling
      of cases where the requested region is outside the domain. When
      the requested region is outside the domain, an empty multiblock
      dataset is returned as output.
      212c0bb9
  19. 09 Nov, 2011 1 commit
  20. 08 Nov, 2011 2 commits
  21. 07 Nov, 2011 1 commit
    • George Zagaris's avatar
      WIP: Snapping & API changes · e18b4844
      George Zagaris authored
      API changes to allow resample filter to accept a number of requested
      samples instead of an AMR level. Further, semi-working snapping functionality
      was added.
      e18b4844
  22. 01 Nov, 2011 2 commits
  23. 26 Oct, 2011 1 commit