Commit 483104b9 authored by Dan Lipsa's avatar Dan Lipsa

Add LAS reader.

parent 6c6852c1
......@@ -386,6 +386,11 @@ if (PARAVIEW_ENABLE_XDMF3)
endif()
endif ()
if (PARAVIEW_ENABLE_LAS)
list (APPEND _vtk_modules vtkIOLAS)
endif()
if (PARAVIEW_USE_MPI)
list (APPEND _vtk_modules ${_vtk_mpi_modules})
endif()
......
......@@ -213,6 +213,9 @@ option(PARAVIEW_ENABLE_NVPIPE
option(PARAVIEW_ENABLE_XDMF2 "Enable Xdmf2 support." ON)
mark_as_advanced(PARAVIEW_ENABLE_XDMF2)
option(PARAVIEW_ENABLE_XDMF3 "Enable Xdmf3 support." OFF)
option(PARAVIEW_ENABLE_LAS "Enable LAS support." OFF)
mark_as_advanced(PARAVIEW_ENABLE_LAS)
if (UNIX)
option(PARAVIEW_ENABLE_FFMPEG "Enable FFMPEG Support." OFF)
......
......@@ -129,6 +129,12 @@ if (vtkioxdmf3_index GREATER 0)
${CMAKE_CURRENT_SOURCE_DIR}/Resources/proxies_xdmf3.xml)
endif()
list(FIND VTK_MODULES_ENABLED "vtkIOLAS" vtkiolas_index)
if (vtkiolas_index GREATER 0)
list(APPEND requestedResourceFiles
${CMAKE_CURRENT_SOURCE_DIR}/Resources/proxies_las.xml)
endif()
list(FIND VTK_MODULES_ENABLED "vtkIOADIOS" vtkioadios_index)
if (vtkioadios_index GREATER 0)
list(APPEND requestedResourceFiles
......
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy class="vtkLASReader"
label="LAS Reader"
name="LASReader">
<Documentation short_help="Reads a LAS file." long_help="Read
LIDAR data in LAS format">The LAS reader reads LIDAR data saved
using the LAS file format. This reader uses the libLAS library.
It produces a vtkPolyData with point data arrays: "intensity":
vtkUnsignedShortArray, "classification": vtkUnsignedCharArray
(optional) and, "color": vtkUnsignedShortArray
(optional)</Documentation>
<StringVectorProperty animateable="0"
command="SetFileName"
name="FileName"
number_of_elements="1">
<FileListDomain name="files" />
<Documentation>This property specifies the file name for the
LAS reader.</Documentation>
</StringVectorProperty>
<Hints>
<ReaderFactory extensions="las"
file_description="LAS Files" />
</Hints>
</SourceProxy>
<!-- End LASReader -->
</ProxyGroup>
</ServerManagerConfiguration>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment