Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion IO/PLY/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ set(classes
vtkPLYReader
vtkPLYWriter)

# Vendored third-party fast PLY parser (MIT, Vilya Harvey) backing the fvtk
# binary-LE fast path in vtkPLYReader. Plain source, not a wrapped VTK class.
set(sources
miniply.cxx)
set(private_headers
miniply.h)

vtk_module_add_module(VTK::IOPLY
CLASSES ${classes})
CLASSES ${classes}
SOURCES ${sources}
PRIVATE_HEADERS ${private_headers})
vtk_add_test_mangling(VTK::IOPLY)
9 changes: 9 additions & 0 deletions IO/PLY/Copyright.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
=========================================================================*/

/*=========================================================================
The vendored fast PLY parser (miniply.h / miniply.cxx) is:

MIT License, Copyright (c) 2019 Vilya Harvey

It backs the fvtk binary little-endian fast path in vtkPLYReader. The full MIT
license text is reproduced at the top of miniply.h and miniply.cxx.
=========================================================================*/
Loading
Loading