- Oct 25, 2017
-
-
Sankhesh Jhaveri authored
-
Sankhesh Jhaveri authored
This change introduces a new variable called TFRangeType for each of the three transfer functions of the volume mapper. When set to SCALAR, the existing functionality of the mapper is preserved, where the function is scaled over the scalar range. When set to NATIVE, the mapper scales the function over the range set on the transfer function i.e. min and max of all the function points. Any scalar values outside this range would be truncated to the min and max of native range.
-
Sankhesh Jhaveri authored
This can be used for doing custom shader computations
-
Sankhesh Jhaveri authored
-
Sankhesh Jhaveri authored
-
Sankhesh Jhaveri authored
First attempt at depth based color coding shader Fix the shader test to keep background black
-
Sankhesh Jhaveri authored
-
Sankhesh Jhaveri authored
The user can either replace the whole shader or parts of it.
-
Sankhesh Jhaveri authored
This change makes the volume mapper use the vtkShaderProgram and vtkShader API to help with shader management and source string substitutions. Split up BuildShader() code into multiple sub-functions for better readability.
-
Sankhesh Jhaveri authored
Convenience method that does source substitutions in-place.
-
Sankhesh Jhaveri authored
-
Sankhesh Jhaveri authored
This will allow it to be used by other vtkShader consumers like volume mapper
-
3c6557e9 Testing/External: Update CMake minimum required version to match VTK Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Reviewed-by:
Brad King <brad.king@kitware.com> Merge-request: !3480
-
- Oct 24, 2017
-
-
2ee2a1c6 Fix typo Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3478
-
Jean-Christophe Fillion-Robin authored
This commit also addresses warning like the following: CMake Warning (dev) at /path/to/VTK/CMake/vtkModuleMacros.cmake:94 (elseif): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "DEPENDS" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /path/to/VTK/Rendering/Volume/module.cmake:1 (vtk_module) /path/to/VTK/CMake/vtkModuleMacros.cmake:431 (include) /path/to/VTK/CMake/vtkModuleMacros.cmake:639 (vtk_module_test) /path/to/VTK/CMake/vtkTestingMacros.cmake:357 (vtk_module_test_executable) /path/to/VTK/Rendering/Volume/Testing/Cxx/CMakeLists.txt:116 (vtk_test_cxx_executable) This warning is for project developers. Use -Wno-dev to suppress it.
-
85e48513 install: Add install rule for vtkInitializeBuildType CMake module Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !3479
-
Jean-Christophe Fillion-Robin authored
Suggested-by:
Ben Boeckel <ben.boeckel@kitware.com>
-
Karthik Nishanth authored
-
dff79a5b Interpolation table was needlessly updating. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Sean McBride <sean@rogue-research.com> Merge-request: !3471
-
e8f67631 vtkResampleToImage was not passing FieldData. Fixed. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !3475
-
e67d72d0 vtkModuleMacros: Fix build of vtkLocal as a standalone project Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !3474
-
Berk Geveci authored
-
eb6bf099 update openvr support to better handle events Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Lucas Gandel <lucas.gandel@kitware.com> Merge-request: !3468
-
36aaa50f Merge branch 'upstream-GitSetup' into update-gitsetup e1e593f1 GitSetup 2017-10-23 (34f17af6) Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Brad King <brad.king@kitware.com> Merge-request: !3473
-
- Oct 23, 2017
-
-
Jean-Christophe Fillion-Robin authored
Without this commit, the following test was failing: VTK_SOURCE_DIR=~/Projects/VTK VTK_BUILD_DIR=/home/jcfr/Projects/VTK-Release rm -rf vtkLocalStandalone* cp -r $VTK_SOURCE_DIR/Examples/Build/vtkLocal/ vtkLocalStandalone pushd vtkLocalStandalone for file in $(ls -1); do updated_file=$(echo $file | sed -e 's/vtkLocal/vtkLocalStandalone/g'); sed -e 's/vtkLocal/vtkLocalStandalone/g' -i $file sed -e 's/VTKLOCAL/VTKLOCALSTANDALONE/g' -i $file [[ $file != $updated_file ]] && mv $file $updated_file done popd mkdir vtkLocalStandalone-build pushd vtkLocalStandalone-build cmake -DVTK_DIR:PATH=$VTK_BUILD_DIR ../vtkLocalStandalone make -j4 popd with error: CMake Error at /home/jcfr/Projects/VTK/CMake/vtkModuleMacros.cmake:505 (export): export FILE option given filename "" which does not have an extension of ".cmake". Call Stack (most recent call first): /home/jcfr/Projects/VTK/CMake/vtkModuleMacros.cmake:547 (vtk_target_export) /home/jcfr/Projects/VTK/CMake/vtkModuleMacros.cmake:624 (vtk_target) /home/jcfr/Projects/VTK/CMake/vtkModuleMacros.cmake:712 (vtk_add_library) CMakeLists.txt:28 (vtk_module_library) Suggested-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
-
Kenneth Moreland authored
* upstream-GitSetup: GitSetup 2017-10-23 (34f17af6)
-
Code extracted from: https://gitlab.kitware.com/utils/gitsetup.git at commit 34f17af62ee67b907eee9504fc743637d2936507 (setup).
-
3d720e75 Ensure ModifiedEvent is fired after changing ViewUp. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Ken Martin <ken.martin@kitware.com> Merge-request: !3472
-
Utkarsh Ayachit authored
Fixes issue introduced by !2550. After changing ViewUp it's essential to fire modified event to not cause unforeseen sideeffects e.g. paraview/paraview#17788.
-
- Oct 21, 2017
-
-
0eb714a4 Remote.WikiExamples: Fix configuration using vtkExternalModuleMacros 33533740 vtkUtilitiesBenchmarks: Fix configuration by exporting module info cf43c617 vtkMy/README: Remove obsolete reference to CVS 5fc6c045 vtkModuleTop/vtkModuleMacros: Fix typo in comment and ivar names 655f4351 Examples: Remove unneeded setting of CMP0020 policy to NEW Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3465
-
Jean-Christophe Fillion-Robin authored
This commit fixes error like the following: ``` Requested modules not available: WikiExamples ``` The commit lorensen/VTKExamples@3da258b fixes the configuration and build of VTKWikiExamples as both a VTK remote module and a stand-alone project. It ensure **first and follow-up configurations** produce similar results and behave **identically**. The build was broken following the introduction of Kitware/VTK@e33b90d (ExternalModule: Improve target export to allow build against external module). The commit addresses the issue by introducing the WikiModuleConfig CMake module responsible for: * ensuring module information are exported into `VTK_MODULES_DIR` by using `vtk_module_export_info`. * using `vtk_module_config` to ensure that variables like `VTK_LIBRARIES` are set in the current scope when the project is build. * ensuring required compile definitions (i.e. <module>_AUTOINIT macros needed for object factory overrides initialization) are used. Co-authored-by:
Bill Lorensen <bill.lorensen@gmail.com>
-
- Oct 20, 2017
-
-
David Gobbi authored
The vtkImageSincInterpolator was needlessly updating its kernel's lookup table because the base class was resetting InterpolationMode on each Update.
-
71131313 Add missing overrides to windows rendering classes. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !3467
-
fce3bd5e More alternate baseline images. 75868ab3 Eliminate an uninitialized-use warning. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Cory Quammen <cory.quammen@kitware.com> Merge-request: !3470
-
David Thompson authored
-
David Thompson authored
-
Jean-Christophe Fillion-Robin authored
This commit fixes the following configuration error reported when configuring VTK using -DModule_vtkUtilitiesBenchmarks:BOOL=1. It uses `vtk_module_export_info` instead of `vtk_module_impl` to ensure the `module.cmake` is configured into the `VTK_MODULES_DIR`. Error: ``` CMake Error at CMake/vtkModuleAPI.cmake:138 (message): Requested modules not available: vtkUtilitiesBenchmarks Call Stack (most recent call first): /home/jcfr/Projects/VTK-Release/VTKConfig.cmake:127 (vtk_module_config) Examples/CMakeLists.txt:10 (find_package) ```
-
Jean-Christophe Fillion-Robin authored
-
Jean-Christophe Fillion-Robin authored
-
Ken Martin authored
Includes support for trackpad event data Fix for new steam vr version that adds many events causing delays in butten response. Fixes picking when using multisamples. Better hardware picking by starting at the center pick point and working out. New menthods in the menuwidget and rep to rename/remove menu items Remap next pose control to left trigger so as to not overload the grip buttons. Handle higlighting of picked lines and polylines better. Fix issues with the panel representation when it is called before the controllers have been loaded. Fix an issue when hardware line width was being forced by the render window to a different value. Better handling of pose for unloaded or untracked devices.
-