mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
6b144abe41
Virtual methods were used in the `MeshConnectivity` classes for the internal ray casting system. However, using virtual methods in the execution environment is being deprecated. This change replaces the virtual object with an object containing a `Variant`. The `Variant` holds one of the supported mesh connectivities and selects the correct one at runtime rather than jumping into a virtual method.
51 lines
1.3 KiB
CMake
51 lines
1.3 KiB
CMake
##============================================================================
|
|
## Copyright (c) Kitware, Inc.
|
|
## All rights reserved.
|
|
## See LICENSE.txt for details.
|
|
##
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
##============================================================================
|
|
|
|
set(headers
|
|
BoundingVolumeHierarchy.h
|
|
BVHTraverser.h
|
|
Camera.h
|
|
CellIntersector.h
|
|
CellSampler.h
|
|
CellTables.h
|
|
ChannelBuffer.h
|
|
ChannelBufferOperations.h
|
|
ConnectivityTracer.h
|
|
CylinderExtractor.h
|
|
CylinderIntersector.h
|
|
Logger.h
|
|
MeshConnectivityBuilder.h
|
|
MeshConnectivityContainers.h
|
|
MeshConnectivity.h
|
|
MortonCodes.h
|
|
PartialComposite.h
|
|
QuadExtractor.h
|
|
QuadIntersector.h
|
|
Ray.h
|
|
RayOperations.h
|
|
RayTracer.h
|
|
RayTracingTypeDefs.h
|
|
Sampler.h
|
|
ScalarRenderer.h
|
|
ShapeIntersector.h
|
|
SphereExtractor.h
|
|
SphereIntersector.h
|
|
TriangleExtractor.h
|
|
TriangleIntersections.h
|
|
TriangleIntersector.h
|
|
VolumeRendererStructured.h
|
|
Worklets.h
|
|
)
|
|
|
|
set_source_files_properties(CellTables.h
|
|
PROPERTIES VTKm_CANT_BE_HEADER_TESTED TRUE)
|
|
|
|
vtkm_declare_headers(${headers})
|