master
lanxingxing 2024-08-31 12:05:54 +08:00
parent 1e39f4e01b
commit d0751ae188
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,31 @@
cmake_minimum_required(VERSION 3.5)
project(post_processor)
find_package(VTK REQUIRED)
if(VTK_FOUND)
message(STATUS "found VTK_DIR")
else(VTK_FOUND)
message(FATAL_ERROR "VTK not found. Please set VTK_DIR")
endif(VTK_FOUND)
INCLUDE_DIRECTORIES(${VTK_USE_FILE})
INCLUDE_DIRECTORIES(.)
message("sub_dir: CMAKE_SOURCE_DIR = ${CMAKE_SOURCE_DIR}")
SET(POST_SRC
readCurveData.cpp
postShowVtu.cpp
postShowEcon.cpp
postFilterGlyph.cpp
postFilterContour.cpp
vtkTecEconReader.cpp
postFilterThreshold.cpp
postFilterClip.cpp
postFilterSlice.cpp
postCubeAxes.cpp
)
#
add_library(post_processor SHARED ${POST_SRC})
target_link_libraries(post_processor ${VTK_LIBRARIES})

0
plugins/CA_PostProcessing/processor/vtkTecEconReader.h Normal file → Executable file
View File

View File

@ -76,7 +76,7 @@ void VisualWidget::setupButton()
// ui->pushButton_9->setIconSize(QSize(30, 30));
// ui->pushButton_9->setFixedSize(30, 30);
// QPixmap pixmap10(":/resources/VisualBtn/btn_print.png");
// QPixmap pixmap10(":/resources/VisualBtn/btn_print.png");
// ui->pushButton_10->setIcon(QIcon(pixmap10));
// ui->pushButton_10->setIconSize(QSize(30, 30));
// ui->pushButton_10->setFixedSize(30, 30);