[Paraview] Display crash running paraview with low-end graphics card

2011-09-02 Thread kit
Hi All,

When  using the slice of clip tool on a 3D view  if I try to adjust the
plane my display crashes. I suspect this has something to do with the
relatively low-end graphics card on my system and there is some toggle
or switch I'm missing, but can't for the life of me work out what it is.
Any help would be gratefully appreciated.

For reference I'm running 3.11.1 on Ubuntu-64 bit laptop 
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)

cheers

Kit

BTW - the following is the call stack from when I killed the
application.

#0  0x7fffcecebf72 in ?? () from /usr/lib/dri/i965_dri.so
#1  0x7fffce9e2ecc in ?? () from /usr/lib/dri/libdricore.so
#2  0x7fffce9e347e in _swrast_ReadPixels ()
from /usr/lib/dri/libdricore.so
#3  0x7fffcecedb2b in intelReadPixels ()
from /usr/lib/dri/i965_dri.so
#4  0x7fffcea16188 in ?? () from /usr/lib/dri/libdricore.so
#5  0x7fffcea1929c in _mesa_meta_CopyTexSubImage2D ()
from /usr/lib/dri/libdricore.so
#6  0x7fffce9479a0 in ?? () from /usr/lib/dri/libdricore.so
#7  0x7fffce94b1ca in _mesa_CopyTexSubImage2D ()
from /usr/lib/dri/libdricore.so
#8  0x7fffe9997594 in vtkOpenGLRenderer::RenderPeel (this=0x17b1820,
layer=2)
src/ParaView-3.11.1/VTK/Rendering/vtkOpenGLRenderer.cxx:981
#9  0x7fffe9995721 in
vtkOpenGLRenderer::DeviceRenderTranslucentPolygonalGeometry (
this=0x17b1820)
src/ParaView-3.11.1/VTK/Rendering/vtkOpenGLRenderer.cxx:652

-- 


Kit Chambers

Principal Geophysicist
Office: +44 1872 562 093
Direct: +44 1872 879 007
Mobile: +44 7816506558
Email:  kit.chamb...@rocktalkimaging.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] Help getting resetting cameras between batch viz runs

2011-09-02 Thread Rick Muller
Marco,

Thanks very much for your reply. Actually, it isn't the camera I need
information on, it's the rest of the object. I need to know how big the
thing I'm looking at is, so I can know where exactly I should move the
camera. And I can't figure out how to get bounding box on any of the objects
that are available to me. Do you have any idea?

On Fri, Sep 2, 2011 at 4:05 AM, Marco Nawijn  wrote:

> Hello Rick,
>
> You can get a direct reference to the camera like this:
>
>>>> camera = GetActiveCamera()
>
> You have than full control with the different Get/Set methods. Like:
>
>>>> camera.GetFocalPoint()
>(-12.119979858398438, -3.0926971435546875, 36.27721977233887)
>
> Don't forget to call Render() if you set camera parameters.
>
>
>
>
> On Thu, Sep 1, 2011 at 11:46 PM, Rick Muller  wrote:
> > I'm using the Python scripting facility in Paraview to do some batch
> > visualization of some semiconductor models I'm simulating. The Start/Stop
> > Trace feature is great, and I've already put together something quite
> > usable. However, I can't figure out how to reset the camera between
> > different simulations.
> >
> > The code coming out of the Trace feature looked something like:
> > rv = pv.GetRenderView()
> > rv.CameraFocalPoint = [0.223, -0.0160,-0.334]
> > rv.CameraParallelScale = 1.684
> > rv.CenterOfRotation = [0.223, -0.0160,-0.334]
> > rv.CameraPosition = [0.223, -0.0160, 4.105]
> > rv.CameraClippingRange = [5.308, 8.033]
> > i.e. they already got the center of the object from some query to the
> > objects already in the database. What would I have to do to get this
> > information myself? I'm having a hard time finding info. I've tried
> reading
> > the doctext for the Outline and OutlineCorners features, and I've seen a
> > couple refs to a GetBounds command while googling around, but I can't
> find
> > anything that really helps.
> >
> > My pipeline looks something like:
> > * Use the ExodusIIReader to create a reader object
> > * Use the aforementioned render view object to control the camera
> > * Create a slice object in the z-direction at a certain height
> > * Create a data representation and a colormap
> > * Render the object.
> > I can't tell which of the objects I would use for an Outline() or a
> > GetBounds() call. For example, I get the min/max values for the data in
> the
> > slice via
> > min,max = slice.PointData[0].GetRange()
> > but using s or s.PointData with Outline() or GetBounds() doesn't get me
> > anywhere. Can anyone nudge me in the right direction?
> >
> > Thanks,
> > Rick
> >
> > --
> > Rick Muller
> > rpmul...@gmail.com
> > 505-750-7557
> >
> >
> > ___
> > 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
> >
> >
>



-- 
Rick Muller
rpmul...@gmail.com
505-750-7557
___
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] Help getting resetting cameras between batch viz runs

2011-09-02 Thread Favre Jean

> min,max = slice.PointData[0].GetRange()

try this:

slice. GetDataInformation().DataInformation.GetBounds()


Jean
CSCS




___
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] Display crash running paraview with low-end graphics card

2011-09-02 Thread Andy Bauer
The options I would try are using mesa or go to Edit->Settings->Render View
and check Use Immediate Mode Rendering to on.  Both of these are normally
slower but if it's a memory allocation problem these may get you past that.

Andy

On Fri, Sep 2, 2011 at 6:02 AM, kit wrote:

> **
> Hi All,
>
> When  using the slice of clip tool on a 3D view  if I try to adjust the
> plane my display crashes. I suspect this has something to do with the
> relatively low-end graphics card on my system and there is some toggle or
> switch I'm missing, but can't for the life of me work out what it is. Any
> help would be gratefully appreciated.
>
> For reference I'm running 3.11.1 on Ubuntu-64 bit laptop
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
> Processor Family Integrated Graphics Controller (rev 09)
>
> cheers
>
> Kit
>
> BTW - the following is the call stack from when I killed the application.
>
> #0  0x7fffcecebf72 in ?? () from /usr/lib/dri/i965_dri.so
> #1  0x7fffce9e2ecc in ?? () from /usr/lib/dri/libdricore.so
> #2  0x7fffce9e347e in _swrast_ReadPixels () from
> /usr/lib/dri/libdricore.so
> #3  0x7fffcecedb2b in intelReadPixels () from /usr/lib/dri/i965_dri.so
> #4  0x7fffcea16188 in ?? () from /usr/lib/dri/libdricore.so
> #5  0x7fffcea1929c in _mesa_meta_CopyTexSubImage2D () from
> /usr/lib/dri/libdricore.so
> #6  0x7fffce9479a0 in ?? () from /usr/lib/dri/libdricore.so
> #7  0x7fffce94b1ca in _mesa_CopyTexSubImage2D () from
> /usr/lib/dri/libdricore.so
> #8  0x7fffe9997594 in vtkOpenGLRenderer::RenderPeel (this=0x17b1820,
> layer=2)
> src/ParaView-3.11.1/VTK/Rendering/vtkOpenGLRenderer.cxx:981
> #9  0x7fffe9995721 in
> vtkOpenGLRenderer::DeviceRenderTranslucentPolygonalGeometry (
> this=0x17b1820)
> src/ParaView-3.11.1/VTK/Rendering/vtkOpenGLRenderer.cxx:652
>
>   --
>
>
> *Kit Chambers*
>
> *Principal Geophysicist*
> Office: +44 1872 562 093
> Direct: +44 1872 879 007
> Mobile: +44 7816506558
> Email:  *kit.chamb...@rocktalkimaging.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] Cosmo Reader - 64bit IDs

2011-09-02 Thread David E DeMarle
It's on the bug tracker now. http://paraview.org/Bug/view.php?id=12569

In the meantime I think a #define or adding -DID_64 to the cmake's
CMAKE_C_FLAGS and CMAKE_CXX_FLAGS ought to do it.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Thu, Sep 1, 2011 at 4:50 PM, Jon Woodring  wrote:
> The way it is coded is that the reader is based on the HACC (MC3) reader
> code, and it is compiled directly as either 32 bit tags or 64 bit tags.
>  Likewise, the same is for the fields, that could be stored as floats or
> doubles.
>
> I had considered compiling multiple versions of the cosmo reader code to
> support selecting the version at run-time, but hadn't done anything with it
> -- but it is an issue.
>
> -Jon
>
> On 09/01/2011 02:46 PM, David E DeMarle wrote:
>>
>> I will take a look at this tomorrow. I suspect it was hardcoded
>> initially but I should be able to make that configurable pretty
>> easily.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>>
>>
>> On Wed, Aug 31, 2011 at 10:43 AM, joseph insley
>>  wrote:
>>>
>>> Hi,
>>>
>>> I have some large data sets in the Cosmo format that I'd like to
>>> visualize with ParaView, but the format is slightly different from that
>>> expected by the built-in CosmoReader.  Because the data sets I have use a
>>> very large number of particles, they use a 64bit int for the ID tag, rather
>>> than the 32bit expected by the reader.   Looking at the source code for the
>>> reader (and HaloFinder) I see that there is an #ifdef ID_64, which if I
>>> understand correctly will compile the code using 64 bits for the particle
>>> IDs, just as I need.  So my first question is, is this understanding
>>> correct? If so, how do I configure ParaView to build with the ID_64 defined?
>>>  Is there some place that I need to add -DID_64 when running ccmake?  Also,
>>> I assume this means that it will then only read datasets with the 64bit IDs.
>>>  I do also have some data sets that use the standard 32bit ID format.  I was
>>> hoping there would be a way (via the GUI perhaps) to specify the precision
>>> of the IDs, and use the sam
>
> e e
>>>
>>>  xecutable, rather than maintain two builds of ParaView to accommodate
>>> the two cosmo formats.
>>>
>>> Any insight on any of this would be greatly appreciated.
>>>
>>> Thanks,
>>> joe.
>>> ___
>>> 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


[Paraview] Load-save camera settings

2011-09-02 Thread Adriano Gagliardi

Dear All,

I've encountered an issue with reloading saved camera states using Adjust
Camera in interactive mode. If I try to load a camera pvcc file by clicking
load -> Selecting pvcc file -> press ok, my screen does not update. If I do
the same, but double click on the pvcc file instead, my screen will update. 

Is there something I'm missing here?

ADDENDUM: In the process of writing the e-mail, I restarted ParaView and now
everything works as expected, albeit with a simple dataset. I'll try and
track down exactly what brought me to the issue previously and repost.

Thanks,

Adriano

===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


**
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
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] Load-save camera settings

2011-09-02 Thread Adriano Gagliardi

Update: The pvcc files don't appear to work across ParaView sessions. So, if
you save it in one session, restart ParaView, and try to apply it again, it
won't work.

Apologies if this has already been flagged as an issue. I did do a search
for something similar, but couldn't find anything.

Adriano

===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of Adriano Gagliardi
Sent: 02 September 2011 15:27
To: paraview@paraview.org
Subject: [Paraview] Load-save camera settings


Dear All,

I've encountered an issue with reloading saved camera states using Adjust
Camera in interactive mode. If I try to load a camera pvcc file by clicking
load -> Selecting pvcc file -> press ok, my screen does not update. If I do
the same, but double click on the pvcc file instead, my screen will update. 

Is there something I'm missing here?

ADDENDUM: In the process of writing the e-mail, I restarted ParaView and now
everything works as expected, albeit with a simple dataset. I'll try and
track down exactly what brought me to the issue previously and repost.

Thanks,

Adriano

===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


**
This email contains information that is private and confidential and is
intended only for the addressee.
If you are not the intended recipient please delete it and notify us
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone
other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
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


**
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
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] Load-save camera settings

2011-09-02 Thread Burlen Loring

Hi Adriano,

I just tried it and it works for me. I'm using 3.10.0.What version are 
you using, and could you provide a specific set of steps to reproduce 
the issue?


Thanks
Burlen



On 09/02/2011 07:40 AM, Adriano Gagliardi wrote:

Update: The pvcc files don't appear to work across ParaView sessions. So, if
you save it in one session, restart ParaView, and try to apply it again, it
won't work.

Apologies if this has already been flagged as an issue. I did do a search
for something similar, but couldn't find anything.

Adriano

===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk
-Original Message-
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of Adriano Gagliardi
Sent: 02 September 2011 15:27
To: paraview@paraview.org
Subject: [Paraview] Load-save camera settings


Dear All,

I've encountered an issue with reloading saved camera states using Adjust
Camera in interactive mode. If I try to load a camera pvcc file by clicking
load ->  Selecting pvcc file ->  press ok, my screen does not update. If I do
the same, but double click on the pvcc file instead, my screen will update.

Is there something I'm missing here?

ADDENDUM: In the process of writing the e-mail, I restarted ParaView and now
everything works as expected, albeit with a simple dataset. I'll try and
track down exactly what brought me to the issue previously and repost.

Thanks,

Adriano

===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk


**
This email contains information that is private and confidential and is
intended only for the addressee.
If you are not the intended recipient please delete it and notify us
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone
other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
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


**
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
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] Load-save camera settings

2011-09-02 Thread Adriano Gagliardi

Hi Burlen,

Yes, I forgot about that information.

This is ParaView 3.10.1 release that I built from source on 64-bit Linux
CentOS 5.2. I've been pulled onto something else at the moment, but I'll try
to present a step-by-step guide as soon as I get a chance. However, if it is
working for others, then I should take a better look at my install and make
sure there is nothing fishy going on.

Cheers,

Adriano


===

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: Burlen Loring [mailto:blor...@lbl.gov] 
Sent: 02 September 2011 15:57
To: agaglia...@ara.co.uk
Cc: paraview@paraview.org
Subject: Re: [Paraview] Load-save camera settings

Hi Adriano,

I just tried it and it works for me. I'm using 3.10.0.What version are you
using, and could you provide a specific set of steps to reproduce the issue?

Thanks
Burlen



On 09/02/2011 07:40 AM, Adriano Gagliardi wrote:
> Update: The pvcc files don't appear to work across ParaView sessions. 
> So, if you save it in one session, restart ParaView, and try to apply 
> it again, it won't work.
>
> Apologies if this has already been flagged as an issue. I did do a 
> search for something similar, but couldn't find anything.
>
> Adriano
>
> ===
>
> Adriano Gagliardi MEng PhD
> Business Sector Leader
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agaglia...@ara.co.uk
> Url: www.ara.co.uk
> -Original Message-
> From: paraview-boun...@paraview.org 
> [mailto:paraview-boun...@paraview.org]
> On Behalf Of Adriano Gagliardi
> Sent: 02 September 2011 15:27
> To: paraview@paraview.org
> Subject: [Paraview] Load-save camera settings
>
>
> Dear All,
>
> I've encountered an issue with reloading saved camera states using 
> Adjust Camera in interactive mode. If I try to load a camera pvcc file 
> by clicking load ->  Selecting pvcc file ->  press ok, my screen does 
> not update. If I do the same, but double click on the pvcc file instead,
my screen will update.
>
> Is there something I'm missing here?
>
> ADDENDUM: In the process of writing the e-mail, I restarted ParaView 
> and now everything works as expected, albeit with a simple dataset. 
> I'll try and track down exactly what brought me to the issue previously
and repost.
>
> Thanks,
>
> Adriano
>
> ===
>
> Adriano Gagliardi MEng PhD
> Business Sector Leader
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agaglia...@ara.co.uk
> Url: www.ara.co.uk
>
>
> **
> This email contains information that is private and confidential and 
> is intended only for the addressee.
> If you are not the intended recipient please delete it and notify us 
> immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by 
> someone other than the recipient, for system management and security
reasons.
> Aircraft Research Association Ltd.  Registered in England, 
> Registration No
> 503668 Registered Office:
> Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>
> **
> ___
> 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
>
>
> **
> This email contains information that is private and confidential and is
intended only for the addressee.
> If you are not the intended recipient please delete it and notify us
immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by 
> someone other than the recipient, for system management and security
reasons.
> Aircraft Research Association Ltd.  Registered in England, Registration No
503668 Registered Office:
> Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>
> **
> ___
> 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] Fail to get the input of a mapper

2011-09-02 Thread 沈恩亚
Dear all,

I am trying to get the input of a mapper briefly as follows:

*vtkMapper* mapper = actor->GetMapper();
vtkDataSet* input = mapper->GetInput();
int numPoints = input->GetNumberOfPoints();*

but faild.

I found that the numPoints is A (such as 400) when the representation of a
data is *Outline*, and B (such as 5500) when the representation of the same
data is *Surface*.

It seems that I only got part(s) of the whole data.

Anyone would tell me what is wrong and how to get the whole data?

Any advice would be appreciated!

Thanks!
___
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] Parameter Filters

2011-09-02 Thread Ajjp V W
Hi,

Is it possible to create new filters (such as Python Programmable
Filter) which control parameter values of other filters? For instance,
how to control a slice origin, normal plane and offset using some
other new filter control parameter and some numerical formula to
constrain slice to remain vertical?

Thanking you.

Sincerely,
--
Ajjp V W
___
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] starting an animation before the first timestep

2011-09-02 Thread Leonie Callies
Thanks! Unfortunately the dataset is too big to save it as single images. But I 
solved the problem by adding a few files that were the same as the first time 
step to the beginning of my dataset. And then I can use your third idea to 
create the movie as I would like to.

Leonie



 Original-Nachricht 
> Datum: Thu, 1 Sep 2011 23:51:33 +
> Von: "Scott, W Alan" 
> An: "Leonie Callies" , "paraview@paraview.org" 
> 
> Betreff: RE: [Paraview] starting an animation before the first timestep

> I can think of three ways.
> * Instead of save animation, use save screenshot.  Then, manually create
> your images for the movie.
> * Same as above, but if you have any animations that need to be part of
> this, just write the animations down as individual images.
> * You could always use the Animation View, turning visibility of these
> sources and datasets on as time runs.
> 
> Alan
> 
> -Original Message-
> From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
> On Behalf Of Leonie Callies
> Sent: Thursday, September 01, 2011 4:29 PM
> To: paraview@paraview.org
> Subject: [Paraview] starting an animation before the first timestep
> 
> Hi,
> 
> I am trying to make a nice animation with paraview. What I would like to
> do is add, for instance, an outline, a certain geometry and maybe other
> sources and then show the timevariant dataset. But adding those sources should
> be part of the animation. So, basically, I want to start the animation
> before the first timestep of the dataset. How can I do that?
> Thanks for any help!
> 
> Leonie
> 
> 
> 
> 
> 
> -- 
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> ___
> 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
> 
> 

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
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] Highlighting pixels in an image

2011-09-02 Thread David Doria
On Wed, Oct 27, 2010 at 1:57 PM, David Doria  wrote:
> On Wed, Oct 27, 2010 at 12:40 PM, Utkarsh Ayachit
>  wrote:
>> Ah you're talking of 2D view. Yup, that's a missing feature. Can you
>> add a bug to the bug tracker please? You should see the points in 3D
>> view, however.
>>
>> Utkarsh
>
> You're right, it works as expected in the 3D view.
>
> I added the bug here:
> http://paraview.org/Bug/view.php?id=11372
>
> Thanks,
>
> David
>

I see that this bug is marked as "expired" - am I the only one that
would want to do this? The problem seems to also go the opposite way -
the selection tools are not available when in an image view. It seems
very reasonable to be able to select a group of pixels from a meta
image and inspect their values - is there any way to do this?

Thanks,

David
___
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