[Paraview] Paraview Programmable Source 3D Text

2013-09-25 Thread Willi Karel
I'd like to insert various text strings programmatically into the scene
at various 3D locations in world coordinates. To me, (Python)
Programmable Source seems to be the appropriate tool for that purpose
(which I successfully use to insert geometries into the scene). Is that
possible using Programmable Source? Otherwise, is there any other
method to do so?

I am aware of Sources - 3D Text,
but that means a lot of manual, repetitive work.

Many thanks!
Willi.
-- 
_ _ _  Technische Universität Wien
   DI Wilfried Karel   /// ___/// Dept. of Geodesy  Geoinform.
  wilfried.karel@ // __ / /__ / // / Research Groups Photogrammetry
 geo.tuwien.ac.at//__/// /__ / // /Remote Sensing
+43 1 58801 12244   ////// Gusshausstr. 27-29, A-1040 Wien
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview Programmable Source 3D Text

2013-09-25 Thread Utkarsh Ayachit
Willi,

You can still use the programmable source for 3D text. With vtkPolyData
as the chosen Output DataSet Type, you can use the attached script as the
Script.









On Wed, Sep 25, 2013 at 6:11 AM, Willi Karel w...@ipf.tuwien.ac.at wrote:

 I'd like to insert various text strings programmatically into the scene
 at various 3D locations in world coordinates. To me, (Python)
 Programmable Source seems to be the appropriate tool for that purpose
 (which I successfully use to insert geometries into the scene). Is that
 possible using Programmable Source? Otherwise, is there any other
 method to do so?

 I am aware of Sources - 3D Text,
 but that means a lot of manual, repetitive work.

 Many thanks!
 Willi.
 --
 _ _ _  Technische Universität Wien
DI Wilfried Karel   /// ___/// Dept. of Geodesy  Geoinform.
   wilfried.karel@ // __ / /__ / // / Research Groups Photogrammetry
  geo.tuwien.ac.at//__/// /__ / // /Remote Sensing
 +43 1 58801 12244   ////// Gusshausstr. 27-29, A-1040 Wien
 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview



foo.py
Description: Binary data
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] recommendations to enable additional VTK modules for plugin

2013-09-25 Thread Casey Goodlett
Hi all,

I am working on a plugin and would like to enable an additional VTK module
that is not normally built by paraview (specifically vtklibproj4).

To enable this I did four things
1) Enable Module_vtklibproj4 when building paraview

To my plugin CMakeLists I did the following

2) Add vtk_module_load(vtklibproj4)
3) Add include_directories(${vtklibproj4_INCLUDE_DIRS})
4) to target_link_libraries add  ${vtklibproj4_LIBRARIES}

Is this the best way to enable additional VTK modules for plugin
development?

Thank you

-- 
Casey B. Goodlett, Ph.D.
RD Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] recommendations to enable additional VTK modules for plugin

2013-09-25 Thread Utkarsh Ayachit
Pretty much, esp since libproj is a third party module that isn't wrapped.
For other wrapped vtk modules, enabling the module in ParaView will make it
seem like it's just another ParaView module and you wouldn't need to do the
vtk_module_load(..) etc, althogh, wouldn't hurt if you did.




On Wed, Sep 25, 2013 at 9:28 AM, Casey Goodlett
casey.goodl...@kitware.comwrote:

 Hi all,

 I am working on a plugin and would like to enable an additional VTK module
 that is not normally built by paraview (specifically vtklibproj4).

 To enable this I did four things
 1) Enable Module_vtklibproj4 when building paraview

 To my plugin CMakeLists I did the following

 2) Add vtk_module_load(vtklibproj4)
 3) Add include_directories(${vtklibproj4_INCLUDE_DIRS})
 4) to target_link_libraries add  ${vtklibproj4_LIBRARIES}

 Is this the best way to enable additional VTK modules for plugin
 development?

 Thank you

 --
 Casey B. Goodlett, Ph.D.
 RD Engineer
 Kitware, Inc. - North Carolina Office
 http://www.kitware.com

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Delaunay 3D filter too slow

2013-09-25 Thread Moreland, Kenneth
That is strange. I cannot replicate your problem. I used a point source to 
create 16020 random points in a sphere, and the Delaunay triangulation took 
only about 2 seconds. My processor might be a bit better than yours, but not 
anywhere near enough to explain the difference.

What version of ParaView are you using? Are you a binary downloaded from 
paraview.org or did you build your own?

-Ken

From: 庞庆源 pangqingyuan1...@gmail.commailto:pangqingyuan1...@gmail.com
Date: Tuesday, September 24, 2013 10:29 PM
To: Kenneth Moreland kmo...@sandia.govmailto:kmo...@sandia.gov
Subject: [EXTERNAL] Re: [Paraview] Delaunay 3D filter too slow

in fact,I have only 16020 points for test.My cpu is AMD Athlon(tm) II P320 
Dual-Core Processor with 2.1GHz.How long will it take in this case if I use one 
cpu to calculate?I have wait for more than 10 minutes before stopping it.


2013/9/24 Moreland, Kenneth kmo...@sandia.govmailto:kmo...@sandia.gov
Your options are probably either to wait or do something else. Delaunay 
triangulation is a pretty heavyweight operation and in general it is not 
trivial to impose a topology on a collection of points.

You might rethink whether you really need to create a solid sphere in the first 
place. I'm guessing you have at least around 100,000 points (or else Delaunay 
probably would not be that slow). If you just render these points as a cloud of 
points, you should get enough occlusion for it to look pretty much like a 
sphere.

-Ken

From: 庞庆源 pangqingyuan1...@gmail.commailto:pangqingyuan1...@gmail.com
Date: Tuesday, September 24, 2013 5:01 AM
To: paraview paraview@paraview.orgmailto:paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Delaunay 3D filter too slow

I have a lot of points taking sample from a solid sphere.So I want to use 
Delaunay 3D filter to render the shpere with known scalars of the points.But it 
took me so much time.What should I do?

--
庞庆源mailto:pangqingyuan1...@gmail.com



--
庞庆源mailto:pangqingyuan1...@gmail.com
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] quadratic elements (hex20 and tetra10)

2013-09-25 Thread Hsieh, Kuo T
Currently I am using paraview version 3.98.1 on window environment and use 
ensight gold format for import data.  It seems to me that the paraview doesn't 
support quadratic elements nor tetrahedral elements.  Is it true? Thanks,
Kuota
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview Programmable Source 3D Text

2013-09-25 Thread Willi Karel
Dear Utkarsh,
that works nice, thanks a lot!
Willi.

On 25.09.2013 15:25, Utkarsh Ayachit wrote:
 Willi,
 
 You can still use the programmable source for 3D text. With
 vtkPolyData as the chosen Output DataSet Type, you can use the
 attached script as the Script.
 
 
 
 
 
 
 
 
 
 On Wed, Sep 25, 2013 at 6:11 AM, Willi Karel w...@ipf.tuwien.ac.at
 mailto:w...@ipf.tuwien.ac.at wrote:
 
 I'd like to insert various text strings programmatically into the scene
 at various 3D locations in world coordinates. To me, (Python)
 Programmable Source seems to be the appropriate tool for that purpose
 (which I successfully use to insert geometries into the scene). Is that
 possible using Programmable Source? Otherwise, is there any other
 method to do so?
 
 I am aware of Sources - 3D Text,
 but that means a lot of manual, repetitive work.
 
 Many thanks!
 Willi.
 --
 _ _ _  Technische Universität Wien
DI Wilfried Karel   /// ___/// Dept. of Geodesy  Geoinform.
   wilfried.karel@ // __ / /__ / // / Research Groups Photogrammetry
  geo.tuwien.ac.at http://geo.tuwien.ac.at//__/// /__ / // /  
  Remote Sensing
 +43 1 58801 12244 tel:%2B43%201%2058801%2012244 
  ////// Gusshausstr. 27-29, A-1040 Wien
 ___
 Powered by www.kitware.com http://www.kitware.com
 
 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html
 
 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView
 
 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview
 
 

-- 
_ _ _  Technische Universität Wien
   DI Wilfried Karel   /// ___/// Dept. of Geodesy  Geoinform.
  wilfried.karel@ // __ / /__ / // / Research Groups Photogrammetry
 geo.tuwien.ac.at//__/// /__ / // /Remote Sensing
+43 1 58801 12244   ////// Gusshausstr. 27-29, A-1040 Wien
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] My own filter as part of pipeline for coprocessing raises name not defined error

2013-09-25 Thread Hong Yi
Hello,

I set up a pipeline that used a custom filter I developed and exported it as a 
python script for coprocessing. I have made sure the static library for my 
custom filter is built and available in paraview-build/lib directory, and I 
have also linked this custom filter static library along with Catalyst libs to 
the simulation code for coprocessing. However, when I run the simulation linked 
with ParaView coprocessing for in-situ visualization, I got NameError: name 
'MyCustomizedFilterName' is not defined error when the line of my customized 
filter in my python coprocessing script is read in for pipeline coprocessing. 
What should I do to get my custom filter wrapped in python so that it can be 
recognized and used as part of the python pipeline script for coprocessing? Any 
advice and suggestions are very much appreciated.

Thanks,

Hong


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to indicate the pressure data in paraview ( I use LS-DYNA)

2013-09-25 Thread Yusuke
Samuel Key samuelkey at bresnan.net writes:

 
 
 Yusuke-san,
 If the components of the stress tensor supplied by the LS-DYNS
 d3plot file have the following names: Sigma_XX, Sigma_XY, Sigma_XZ,
 Sigma_YY, ...
 then one can use the Calculator filter with the formula 
 Pressure = (Sigma_XX + Sigma_YY + Sigma_ZZ)/3.0
 Note: (1) Pressure replaces the temporary Results name, (2)
 just the formula (Sigma_XX + Sigma_YY + Sigma_ZZ)/3.0
 is used in the blank line above the key-pad, and (3) be sure to
 use the stress component names supplied by  d3plot in place of my
 guessed names above.
 Hope this helps,
 SamOn 9/23/2013 7:47 PM,
   uverworld_1016 at yahoo.co.jp wrote:
 

Hi Mr. Samuel
Thank you to answer my question!
I found BendingResultant_X,Y,Z , NormalResultant_X,Y,Z , ShearResultant_X,Y.
However I can't find Sigma_XX,XY,XZ...and Results.
Maybe these are not Sigma and results.
Should I set calculation files to output sigma and results??
But I don't know  how to do 

Thank you 
Best regards
Yusuke


   
   ___
 Powered by www.kitware.com
 
 Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html
 
 Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView
 
 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview
 
 
 
 
 
 div
 Yusuke-san,brbrbr
 If the components of the stress tensor supplied by the LS-DYNS
 d3plot file have the following names: Sigma_XX, Sigma_XY, Sigma_XZ,
 Sigma_YY, ...brbr
 then one can use the Calculator filter with the formula brbr
 Pressure = (Sigma_XX + Sigma_YY + Sigma_ZZ)/3.0brbr
 Note: (1) Pressure replaces the temporary Results name, (2)br
 just the formula (Sigma_XX + Sigma_YY + Sigma_ZZ)/3.0br
 is used in the blank line above the key-pad, and (3) be sure to
 use the stress component names supplied by  d3plot in place of my
 guessed names above.brbr
 Hope this helps,brbr
 Sambrbrdiv class=moz-cite-prefixOn 9/23/2013 7:47 PM,
   a class=moz-txt-link-abbreviated href=mailto:uverworld_1016 at 
yahoo.co.jpuverworld_1016 at yahoo.co.jp/a wrote:br
 /div
 blockquote cite=mid:340485.43466.qm at 
web100905.mail.kks.yahoo.co.jp type=cite
   div
 divHi! All! /div
 divI'm sorry to ask a lot of questions./div
 divbr/div
 divI use LS-DYNA and I input d3plot file to paraview./div
 divIf I use ls-prepost, I can indicate pressure but there is
   not pressure data in paraview./div
 divSo, I can't indicate pressure  in paraview./div
 divbr/div
 divShould I use some filters?? /div
 divbr/div
 divThank you a lot. /div
 divBest regards/div
 divYusuke/div
   /div
   brbr___
 Powered by a class=moz-txt-link-abbreviated 
href=http://www.kitware.com;www.kitware.com/a
 
 Visit other Kitware open-source projects at a class=moz-txt-link-
freetext 
href=http://www.kitware.com/opensource/opensource.html;http://www.kitware.
com/opensource/opensource.html/a
 
 Please keep messages on-topic and check the ParaView Wiki at: a 
class=moz-txt-link-freetext 
href=http://paraview.org/Wiki/ParaView;http://paraview.org/Wiki/ParaView/
a
 
 Follow this link to subscribe/unsubscribe:
 a class=moz-txt-link-freetext 
href=http://www.paraview.org/mailman/listinfo/paraview;http://www.paraview
.org/mailman/listinfo/paraview/a
 
 /blockquote
 br
 /div
 




___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] My own filter as part of pipeline for coprocessing raises name not defined error

2013-09-25 Thread Andy Bauer
Did you use a plugin to add in your custom filter when creating the Python
co-processing script? I'm not sure how plugins are loaded for static
builds but you may want to look at
http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Plugins_in_Static_Applications.
If that doesn't work, we'll have to figure out some other way to do it.

Andy






On Wed, Sep 25, 2013 at 9:16 PM, Hong Yi hon...@renci.org wrote:

  Hello,

 I set up a pipeline that used a custom filter I developed and exported it
 as a python script for coprocessing. I have made sure the static library
 for my custom filter is built and available in paraview-build/lib
 directory, and I have also linked this custom filter static library along
 with Catalyst libs to the simulation code for coprocessing. However, when I
 run the simulation linked with ParaView coprocessing for in-situ
 visualization, I got NameError: name 'MyCustomizedFilterName' is not
 defined error when the line of my customized filter in my python
 coprocessing script is read in for pipeline coprocessing. What should I do
 to get my custom filter wrapped in python so that it can be recognized and
 used as part of the python pipeline script for coprocessing? Any advice and
 suggestions are very much appreciated.

 Thanks,

 Hong



 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the ParaView Wiki at:
 http://paraview.org/Wiki/ParaView

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview