Up to [cvs.NetBSD.org] / pkgsrc / graphics / vtk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
graphics/vtk: Rampage on PLIST_AWK, fix qt PLIST
- Add many PRINT_PLIST_AWK to regenerate the PLIST mostly as is.
- Fix the PLIST when building without qt - nothing interesting just
missing and spurious PLIST.qt guards.
graphics/vtk: PLIST sort, in part
plist-sort puts libfoo.so.${VTKVER} ahead of libfoo.so.1.
Theoretically that makes some sense even if it is jarring because we
know VTKVER starts with 9. Do it plist-sort's way because print-PLIST
does too. NFCI
graphics/vtk: Update to 9.5.2
vtk 9.4.1 in pkgsrc does not build, because (probably) something it
depends on has been updated, and there's API drift. Rather than debug
that, I tried 9.5.2, which was straightforward, except that PLIST
adjustment was very very messy.
With this update, pcl still builds. I'm therefore saying that what
I'm committing is on balance much better and we should fix that up,
instead of working on 9.4. I'm happy to revert if others should see
it differently (and put this in wip and use it myself).
Packaging changes:
Extract VERISION_MINOR (e.g. "9.5") into a variable so one can
examine it.
Add PRINT_PLIST_AWK to convert the minor version back into the
variable.
Upstream NEWS highlights:
Annotation
Grid Axes in VTK VTK now has the vtkGridAxesActor3D that is the
successor to the vtkCubeAxesActor for cube axes annotation. This
new actor was the default cube axes grid for ParaView and uses
vtkAxisActor underneath the covers for better label placement
strategy over its precursor. Grid Axes Actor 3D
DataModel
Add AxisAligned and Offset options to vtkPlane vtkPlane now has
AxisAligned and Offset options.
Introduce implicit Frustum and widget
vtkDataSet: Add GetMinSpatialDimension vtkDataSet has a new method
GetMinSpatialDimension that returns the minimum spatial dimension
of the dataset.
Filters
Add AxisAlignedReflectionFilter
Add AxisAlignedTransformFilter
Add FillMaterial option to HTG Geometry filter
Add option to add cells to the output of vtkPCANormalEstimation
Add Gaussian integration strategy
Add support for oriented images in vtkProbeFilter
Add vtkQuadricDecimation::Set/GetMaximumError()
Append filters: Multithread and Improve Performance
Introduce vtkExplodeDataSet filter
I/O
Add AVMESH reader
Add external memory support for vtkConduitSource
Add vtkFidesWriter for writing out data in ADIOS2 BP format
Import GLTF scenes from in-memory streams
GLTF Stream Import Example
netcdf: Enable CDF5 format VTK’s internal netcdf now enables the CDF5 format.
VTK Conduit now supports pyramids and wedges
HyperTreeGrid support has been added to the VTKHDF specification
and reader.
Rendering
Add new setting to specify 2D point shape in vtkProperty
Add option to independently set thickness of cell edges and lines
Add Prolab Transfer function interpolation support
Add vtkFastLabeledDataMapper
Add vtkLightWidget to path-traced environments
Build
C++17 is now required for VTK :warning: BREAKING_CHANGES
VTK now requires C++17 compiler support. Minimum required compiler versions have been updated (e.g., GCC 8.0, Clang 5.0, MSVC 2017, Apple Clang 10.0, Intel ICC 19.0).
Deprecations/Removals
All APIs that were deprecated in 9.3 are now removed.
vtkExtentSplitter::Min and ::Max have been deprecated in favor of std::min and std::max.
vtkXMLReader::Min and ::Max have been deprecated in favor of std::min and std::max.
Classes like vtkHierarchicalBoxDataSet, vtkHierarchicalBoxDataSetAlgorithm, related geometry filters, and XML readers/writers are deprecated. Use vtkOverlappingAMR versions instead.
vtkTypedDataArray, vtkTypedDataArrayIterator, vtkMappedDataArray,
vtkCPExodusIINodalCoordinatesTemplate, and
vtkCPExodusIIResultsArrayTemplate are deprecated. Use
vtkGenericDataArray or
vtkAOSDataArrayTemplate/vtkSOADataArrayTemplate alternatives.
vtkHyperTreeGridVisibleLeavesSize is deprecated in favor of
vtkHyperTreeGridGenerateFields.
Several public members related to selection and decimation level
in vtkAdaptiveDataSetSurfaceFilter (used by HTG Surface
Representation) are now deprecated and have no effect (e.g.,
Set/GetCircleSelection, Set/GetDynamicDecimateLevelMax). (Author
notes)
vtkOpenXRManager::(Set|Get)UseDepthExtension are deprecated and now no-op. Use the versions in vtkOpenXRRenderWindow instead.
VTKHDF Reader: Remove the MergeParts option
The MergeParts option of the vtkHDFReader allowed getting a unique
Unstructured Grid or PolyData dataset after reading multiple
parts. This option has been deprecated and has no effect
anymore. Now, multi-piece datasets properly output a
vtkPartitionedDataset containing non merged parts. Single-piece
datasets still output simple vtkUnstructuredGrid or
vtkPolyData. This changes the default behavior of the reader:
Unstructured Grid and PolyData multi-piece datasets that used to
be read with MergeParts (default) as a single piece are now read
as a partitioned dataset. If MergeParts was disabled manually,
only the single-piece case will be read differently: instead of
forcing the output to be a partitioned dataset with a single
piece, the output is now directly the non composite type,
Unstructured Grid or PolyData.
Users should replace the use of MergeParts by manually merging
parts using the vtkMergeBlocks or vtkAppendDatasets manually
instead.
graphics/vtk: Drop inexplicable stray l in PLIST
vtk: updated to 9.4.1 VTK v9.4.0 https://www.kitware.com/vtk-v9-4-0/
revbump after icu and protobuf updates
graphics/vtk: update to 9.2.6 I am not able to find a changes list. Sorry. It's just a newer version of this behemoth that dependents need.
vtk: fix for Darwin + cleanup
Update vtk to 9.0.3
Highlights:
# New classes
- Added a `vtkImageProbeFilter` which works like `vtkProbeFilter`, but for
`vtkImageData`
# New support
- `enum class` setters and getters are now supported via
`vtk{Get,Set}EnumMacro`
# Fixes
- The `QVTKRenderWidget.h` is now installed.
- `vtk3DLinearGridPlaneCutter` guards against `nullptr` points and cells
- The composite date mapper now iterates over data blocks properly
- `vtkStringArray::Resize` takes tuple elements into account
- `vtkArrowSource` now supports scalong and rotation around the origin or the
arrow's center point
- The `VTK::DomainsChemistryOpenGL2`, `VTK::RenderingContextOpenGL2`, and
`VTK::RenderingOpenGL2` modules are added to the `Rendering` group to avoid
missing implementations of rendering components
- `vtkCutter` enables point merging when requested through a
`vtkPointLocator` which merges points
- `vtkAxesActor` bounds calculations improved to avoid assumptions about
range values
- `vtkWindowLevelLookupTable` out-of-range colors are now initialized
properly
- `vtkImageReslice::RequestInformation` is refactored handle common image
information passing
- `vtkImageReslice` creates a new interpolator in `::GetInterpolator`; this
new interpolator now uses the same interpolation mode as `vtkImageReslice`
itself
graphics/vtk: add Qt support (on by default) It is an option because VTK is usable for some without it, but it is strongly recommened to keep it on, as it is common for interactive software seems to use VTK via Qt.
Update vtk to 9.0.1 18 years of updates. In memory of Matthias Drochner.
Remove @dirrm entries from PLISTs
Don't install the cmake build setting file. It directly references the wrkdir and is therefore not useful without. It is unclear whether anything actually depends on it being present, so don't bother faking it for now. Bump revision.
import vtk-4.2.6 from -wip
Initial revision