-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a39752a Make zSpace plugin use dedicated VTK module ac02164 Add renderer setter in vtkPVRenderView Acked-by: Kitware Robot <[email protected]> Reviewed-by: Mathieu Westphal <[email protected]> Merge-request: !6024
- Loading branch information
Showing
25 changed files
with
81 additions
and
3,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## zSpace plugin rework | ||
|
||
Pure VTK classes of the zSpace plugin have been moved to a dedicated VTK module. | ||
Now, the plugin only contains the zSpace custom render view and the zSpace manager. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ DESCRIPTION | |
REQUIRES_MODULES | ||
VTK::CommonCore | ||
VTK::RenderingCore | ||
VTK::RenderingZSpace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,8 @@ | ||
set(classes | ||
vtkPVZSpaceView | ||
vtkZSpaceCamera | ||
vtkZSpaceInteractorStyle | ||
vtkZSpaceRayActor | ||
vtkZSpaceRenderWindowInteractor | ||
vtkZSpaceSDKManager) | ||
|
||
set(ZSPACE_USE_COMPAT_SDK "ON" CACHE BOOL | ||
"Set to \"ON\" to use the newer version of the zSpace SDK | ||
(\"Core Compatibility SDK\") instead of the legacy one | ||
(\"Core SDK\")") | ||
mark_as_advanced(ZSPACE_USE_COMPAT_SDK) | ||
|
||
if(ZSPACE_USE_COMPAT_SDK) | ||
list(APPEND classes vtkZSpaceCoreCompatibilitySDKManager) | ||
vtk_module_find_package(PACKAGE zSpaceCompat) | ||
message(zSpace_INCLUDE_DIR:${zSpace_INCLUDE_DIR}) | ||
else() | ||
list(APPEND classes vtkZSpaceCoreSDKManager) | ||
vtk_module_find_package(PACKAGE zSpace) | ||
endif() | ||
vtkPVZSpaceView) | ||
|
||
vtk_module_add_module(zSpace::vtkZSpaceView | ||
CLASSES ${classes}) | ||
|
||
if(ZSPACE_USE_COMPAT_SDK) | ||
# Just provide the headers as there are no library | ||
# link during compile time | ||
vtk_module_link(zSpace::vtkZSpaceView | ||
PUBLIC zSpaceHeaders) | ||
else() | ||
vtk_module_link(zSpace::vtkZSpaceView | ||
PUBLIC zSpace::zSpace) | ||
endif() | ||
|
||
configure_file( | ||
"${CMAKE_CURRENT_SOURCE_DIR}/vtkZSpaceSDKVersion.h.in" | ||
"${CMAKE_CURRENT_BINARY_DIR}/vtkZSpaceSDKVersion.h") | ||
|
||
paraview_add_server_manager_xmls( | ||
XMLS ZSpaceView.xml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.