CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Equivalent C++ code for applied filters in Paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2018, 20:14
Default Equivalent C++ code for applied filters in Paraview
  #1
New Member
 
Alibaba
Join Date: Jan 2018
Posts: 1
Rep Power: 0
Sandbad is on a distinguished road
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
Sandbad is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 13:30
[OpenFOAM] Paraview client/server does not work with ParaView 5.0.1 snak ParaView 0 October 17, 2016 10:22
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 14:34
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 11:44
What kind of Cmmercial CFD code you feel well? Lans Main CFD Forum 13 October 27, 1998 10:20


All times are GMT -4. The time now is 01:54.