|
[Sponsors] |
[General] Equivalent C++ code for applied filters in Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 12, 2018, 21:14 |
Equivalent C++ code for applied filters in Paraview
|
#1 |
New Member
Alibaba
Join Date: Jan 2018
Posts: 1
Rep Power: 0 |
Dear All,
I have an unstructured mesh and by using ParaView I have applied three filters in sequence (Python Calculator, Threshold, Extract Surface) on that mesh . With Python Calculator filter I compute the "area" of the CellData. I want to write the equivalent C++ code using VTK library. I have read the data like this: vtkUnstructuredGridReader * reader = vtkUnstructuredGridReader::New(); reader->SetFileName(filename.c_str()); reader->ReadAllScalarsOn(); reader->ReadAllVectorsOn(); reader->Update(); would you please help me to apply those filters. I would appreciate your help. Best, Sandbad |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] ParaView Plotting: Why are some Filters in the Alphabetical list greyed out? | arieljeds | ParaView | 3 | August 23, 2017 14:30 |
[OpenFOAM] Paraview client/server does not work with ParaView 5.0.1 | snak | ParaView | 0 | October 17, 2016 11:22 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 15:34 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 12:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 11:20 |