- May 30, 2017
-
-
Sean McBride authored
Found with readability-redundant-string-cstr clang-tidy check.
-
- May 26, 2017
-
-
Alvaro Sanchez authored
Split functionality in ComputeGradient::Dec into two functions, one containing all the reusable parts between 1D and 2D transfer functions (gradient computations) and one containing 1D specific calls. Changed transfer function type to VTK_FLOAT.
-
- May 01, 2017
-
-
David C. Lonie authored
The first baseline was always used for comparison; now the best matched image will be shown.
-
- Apr 25, 2017
-
-
Utkarsh Ayachit authored
If we intend to grab from back-buffer, we need to ensure that the render doesn't do a swap-buffers at the end of the render. Otherwise, that remains in the back buffer is not guaranteed by OpenGL spec.
-
- Apr 12, 2017
-
-
David C. Lonie authored
We have some new volume rendering tests depend on runtime state, and we cannot know whether or not the required support will be there during configure time. This patch adds a new symbolic constant, VTK_SKIP_RETURN_CODE that uses the SKIP_RETURN_CODE cmake test property, which allows us to skip the test at runtime when invalid configurations are detected. The value of 125 was chosen to match git rebase's skip value.
-
- Apr 08, 2017
-
-
Sean McBride authored
snprintf is now part of C++11 and is already simulated for old versions of VS.
-
- Apr 05, 2017
-
-
Berk Geveci authored
These filters were contributed by Hamish Carr's team from University of Leeds. See the class files for more information on what the filters do.
-
- Mar 31, 2017
-
-
Mathieu Westphal (Kitware) authored
This commit replace a bunch of stat() usage by Stat which is more robust especially on windows.
-
- Mar 10, 2017
-
-
Utkarsh Ayachit authored
This reverts commit 6389bedf.
-
- Feb 17, 2017
-
-
Cory Quammen authored
vtkDataSetSurfaceFilter delegates some work to vtkUnstructuredGridGeometryFilter. This change ensures that duplicate ghost cells are not removed by the delegate filter. Added test for this filter with quadratic ghost cells
-
Berk Geveci authored
These filters were contributed by Hamish Carr's team from University of Leeds. See the class files for more information on what the filters do.
-
- Feb 02, 2017
-
-
Cory Quammen authored
This patch removes the upper limit of 4096 time steps in annotated time XML files. Now an arbitrary number of time steps can be read. Repurposed vtkXMLDataElementVectorAttributeParse() for the purposes of counting tokens of a particular type in an attribute by changing the meaning of a NULL 'data' parameter. The existing test has been added to try out the new feature, as well as a small test data set. Hat tip to David Benn for the bug report and a reference solution.
-
- Jan 25, 2017
-
-
Bill Lorensen authored
The reader now supports reading files have vertices but no faces. These fies are used to store point clouds. A sample data file and test are provided.
-
- Jan 23, 2017
-
-
Alvaro Sanchez authored
vtkMultiBlockVolumeMapper renders vtkMultiBlockDataSet instances containing vtkImageData blocks. Bounds containing the full set of blocks are computed so that vtkRenderer can adjust the clipping planes appropriately. At render time, blocks are sorted back-to-front and each block is rendered independently. The mapper defers actual rendering to its internal vtkSmartVolumeMapper.
-
- Jan 22, 2017
-
-
Sean McBride authored
- Made a few APIs' params const - Changed many usages of the evil GetBounds() to expect a const return value, even though it does not (yet?) return const - Slightly changed return values of vtkTextActor3D::GetBounds() to return its own ivar instead of its ImageActor's
-
- Jan 17, 2017
-
-
Alvaro Sanchez authored
vtkContext2D takes a new type of item which directly draws a 2D mesh represented by a vtkPolyData object. Internally, vtkContextDevice2D makes the API calls necessary to draw the internal primitives of vtkPolyData. Added a test demonstrating the use of vtkPolyDataItem. Added interaction and batched primitives for drawing. vtkInteractiveArea derives from vtkContextArea and implements basic interaction (zoom and panning). Currently, two types of vtkPolyData primitives are supported, Lines and Polygons. Lines are batched and drawn using ContextDevice2D::DrawLines. Polygons are first decomposed into a set of triangles and then drawn using ContextDevice2D::CoreDrawTriangles. Primitives are colored per vertex. Suppressed run-time warning. Setting the current renderer in the interactor style. Removed unecessary initializations. Using defined symbolic names for scalar modes.
-
- Jan 16, 2017
-
-
Robert Maynard authored
-
- Dec 24, 2016
-
-
Bill Lorensen authored
Cut/paste error failed to allocate array for intensities. Adds a new test along with a dataset that contains intensities.
-
- Dec 20, 2016
-
-
Bill Lorensen authored
CHECK_ERROR_MSG and CHECK_WARNING_MSG are used to check the content of error and warning messages. Error and warning code is often overlooked during testing. Over the years, these two macros have been refined to increase their utility. Tests that use the macros defined their own interpretations. Three different API's have been used in the macros. This patch replaces the CHECK_ERROR_MSG and CHECK_WARNING_MSG macros with methods for vtkTest::ErrorObserver. All tests that used the CHECK macros in one form or another have been updated to use the CheckErrorMessage and CheckWarningMessage methods.
-
- Dec 15, 2016
-
-
Jon Haitz Legarreta authored
This patch set adds a new test to exercise the vtkDICOMImageReader's ability to parse a folder containing DICOM files. The DICOM files were generated using David Gobbi's niftitodicom tool from the vtk-dicom project, and using the filtered_func_data.nii.gz NIfTI file already present in VTK's testing data. Only 10 slices around the central axial region of the volume are included to limit the testing data size.
-
- Dec 07, 2016
-
-
David C. Lonie authored
-
- Nov 28, 2016
-
-
Jon Haitz Legarreta authored
This patch set adds a test and the required input image to test the vtkDICOMImageReader class.
-
- Nov 22, 2016
-
-
David Thompson authored
-
- Nov 21, 2016
-
-
Dan Lipsa authored
-
- Oct 27, 2016
-
-
David E. DeMarle authored
-
David E. DeMarle authored
-
Joachim Pouderoux authored
Input can be any dataset with a cell scalar array (typically an integer value that represent a material id). Output is a multiblock with as many blocks as the number of different values in the input scalar array. Each block contains cells with same scalar value. Output blocks are UnstructuredDataSet unless input data is PolyData. In this case output blocks are PolyData too.
-
- Oct 25, 2016
-
-
Mathieu Westphal (Kitware) authored
This commit add support for 6 component symmetric tensor array, by converting symmetric tensor to standard tensor. Modifying Legacy reader/writer to support 6 Component tensor
-
- Sep 23, 2016
-
-
This commit reindents the code with the following utility: Utilities/Maintenance/vtk-reindent-code.py This utility changes the positions of the braces so that they are no longer indented relative to the code block they reside in. The bash command line used was the following: for d in Charts Common Deprecated Domains Examples Filters GUISupport \ Geovis IO Imaging Infovis Interaction Parallel Rendering \ Testing Views Web Wrapping; do for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do find "${d}" -name "*.${e}" -exec \ python Utilities/Maintenance/vtk_reindent_code.py {} + done done
-
David DeMarle authored
generated via: cd $VTKSRC perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders . cp -r ~/tmp/vtkheaders/* .
-
Dave DeMarle authored
fix problematic ccomments that trip up doxygen generator. Mostly c style comments in class description but a few cases of comments not in expected location that leads to stripped out code and comp fails fix trailing whitespaces that will fail style check when committed Thanks Andrew Maclean for updating the url to VTK publications.
-
- Sep 12, 2016
-
-
Haocheng LIU authored
The current dependency relationship in vtk is unclear and misleading. This MR tries to rewrite them based on header files inclusion of headers and source files in each module. Corner cases are considered and modules are sorted in alphabetical order to facilitate future reference. See details in my gitlab python based script project. In future we can continue using this script to clean the VTK Dependency easily from time to time.
-
- Sep 09, 2016
-
-
Berk Geveci authored
The coverage for the FLUENT reader was sad so I added a simple test. The data is from http://www.mne.psu.edu/cimbala/me405web_Fall_2006/Fluent/fluent.htm
-
Cory Quammen authored
-
- Aug 23, 2016
-
-
Max Smolens authored
This commit adds a test to demonstrate a problem seen when volume rendering a labelmap volume in Slicer. See the original bug report: http://www.na-mic.org/Bug/view.php?id=2165 The labelmap volume and color table that this test uses are extracted from nac-hncma-atlas-2015Nov-Slicer4-4Version.mrb, which is available at http://www.spl.harvard.edu/publications/item/view/2037.
-
- Aug 22, 2016
-
-
Robert Maynard authored
This adds a new macro to vtkSetGet that direct children of vtkObjectBase should call instead of vtkTypeMacro. By doing so we properly resolve all warnings about missing override keyword from NewInstance.
-
- Aug 19, 2016
-
-
Bill Lorensen authored
This is a fix for: #14310 Windows applications that run for a long time report that rendered objects do not change. This is because the modified time on a Windows system is 32 bits. This causes overflows that defeat the modified time mechanism. This patch defines a new type, vtkMTimeType that is 64 unsigned integer regardless of the architecture. A mechanism to provide backward compatibility is introduced. The preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications that must build against VTK versions that use the "unsigned long" type for MTime's. Methodology used to find MTime occurences: 1) Identify files as follows: git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq 2) Hand edit each of those files replacing "unsigned long" with "vtkMTimeType" where appropriate. 3) Temporarily change typedef for vtkMTimeType to "double" to detect missing conversions
-
- Aug 15, 2016
-
-
David C. Lonie authored
-
- Aug 04, 2016
-
-
Sean McBride authored
-
- Jul 13, 2016
-
-
Joachim Pouderoux authored
Add a test with a reflection shader.
-