Hello,
I am trying to use the glyph filter internally inside another C++ filter.
To set a normal property, I just use the associated command as show below:
vtkPVGlyphFilter* glyph = vtkPVGlyphFilter::New();
glyph->SetInput(tmpOutput);
glyph->SetSource(disk->GetOutput());
glyph->SetScaleMode(1
Also try "Extract Cells by Region".
On Mon, Sep 10, 2012 at 6:51 PM, David E DeMarle
wrote:
> Try extract edges filter. That and the shrink filter help see the mesh.
> On Sep 10, 2012 6:10 PM, "William Oquendo" wrote:
>
>> Dear all,
>> I have a (small and random) set of 3D points, and I am apply
"Selection Inspector" (view->Selection Inspector).
On Wed, Aug 1, 2012 at 4:06 PM, Chris wrote:
>
> Hello thx,
>
> but where do I find "Invert Selection"?
>
> Am 01.08.2012 um 21:08 schrieb Nehme Bilal:
>
> Try the "Invert Selection" chec
Try the "Invert Selection" check box in selection inspector. Select the
cells you want to delete, use "Invert selection" to select the cells you
want to keep and then use Extract Selection filter to delete the cells.
Nehme
On Wed, Aug 1, 2012 at 2:50 PM, Chris wrote:
> Hallo people,
>
> does so
012 at 10:57 AM, David E DeMarle
wrote:
> On Mon, Jul 30, 2012 at 4:43 PM, Nehme Bilal wrote:
> > Hello,
> >
> > I am trying to make a C++ reader for a point set file containing time
> steps.
> > The output of the reader is a vtkPolyData.
> >
> > The file
Hello,
I am trying to make a C++ reader for a point set file containing time steps.
The output of the reader is a vtkPolyData.
The file format is similar to:
x1,y1,z1,prop1,prop2,...,time
I would like to import the field "time" as time steps, in order to animate
using "snap to time steps" mode.
Hello Alexander,
If your names or labels are points of cells properties, try using the
"selection inspector" to display the labels. You just select
everything and turn on labeling in the selection inspector gui.
You can also select only the parts where you want to see the labels.
If you don't want
Hello Matei,
Using the new version of CMake should fix your problem. See discussion
here: http://www.paraview.org/pipermail/paraview/2012-January/023713.html
Delete cache before generating with the new CMake.
Nehme
On Wed, Mar 7, 2012 at 1:16 PM, Robert Maynard
wrote:
> The ParaView 3.14 releas
Hello,
Just to let you know that copying and pasting of a clip filter causes
a crash. I think it will be the same for all filters using a 3D
widget.
I implemented a copy/paste few years ago for ParaViewGeo (based on
ParaView 3.4) and I think that it was able to copy the 3D widgets
correctly. The
Hello all,
I am trying to create a distributable of ParaView 3.12 using CPack on
windows as described here:
http://paraview.org/Wiki/ParaView:Build_And_Install#Distributing_ParaView
Everything is working correctly, but when someone install my
distributable, a lot of dll's are missing including qt
I deleted cache and configure again with CMake2.8.7 and I've got MSVC.
Thanks Utkarsh !
On Wed, Jan 18, 2012 at 11:23 AM, Nehme Bilal wrote:
> I am using CMake 2.8.3.
> MESSAGE("CMAKE_CXX_COMPILER_ID =" ${CMAKE_CXX_COMPILER_ID})
> gives : CMAKE_CXX_COMPILER_ID =
>
>
y printing out the CMAKE_CXX_COMPILER_ID
> in your cmakelists.txt file for building the plugin. What does it say?
> It should say something like MSVC.
>
> Utkarsh
>
> On Wed, Jan 18, 2012 at 10:40 AM, Nehme Bilal wrote:
>> Thank you for your replays.
>>
>> I think I am usi
> Best regards,
> Bruno
>
> PS: I'm the guy that jump-started
> http://code.google.com/p/unofficial-paraview-dev-install/ , so feel free to
> give us feedback or even offer to help!
>
> On 17-01-2012 22:46, paraview-requ...@paraview.org wrote:
>>
>> Subje
Hello,
We're looking for information about what tools were used to build
ParaView 3.12.0. We usually find detailed information on ParaView wiki
here: http://www.paraview.org/Wiki/ParaView_Binaries but it appears
that the wiki was not updated since 3.10.0.
Thank you,
Nehmé Bilal
_
The "Selection Inspector" of ParaView can probably do what you want:
http://paraview.org/OnlineHelpCurrent/SelectionInspector.html
Nehme
On Sun, Aug 7, 2011 at 7:42 PM, ChiaWeng Boon wrote:
> Hi,
>
> I would like to display the ID numbers of my bodies. They are saved
> as a Point Data as follow
Hello all,
I am trying to create a ParaView reader (or source) that uses
vtkODBCDatabase to connect and read data from an
Oracle Database.
I compiled ParaView with :
VTK_USE_ODBC ON
ODBC_INCLUDE_DIRECTORIES C:/Program Files (x86)/Microsoft
SDKs/Windows/v7.0A/Include
ODBC_LIBRARY C:/Program Files
rying now.
>
> My code is in a publicly accessible git repo if you want to take a look at
> the code.
>
> _
> Mike Jackson mike.jack...@bluequartz.net
>
>
> On Dec 15, 2009, at 11:59 AM, Nehme
ew source to look for "examples" besides grepping
> through the sources for key words.
>
> _____
> Mike Jackson mike.jack...@bluequartz.net
>
>
> On Dec 12, 2009, at 7:49 PM, Nehme Bilal wrote:
>
> If the elements you want to display i
If the elements you want to display in you combobox are always the same,
simply use:
and then rename you combobox to "ActiveDimension" in qt designer.
That's should be enough to do what you are looking for.
If you want to fill dynamical
Hi Marco,
- select all your data using selection controls toolbar.
- open selection inspector and scroll down to display style.
- you will find "Cell Label" and "Point label" tabs. click on the one
you want to display and then check "Visible".
The problem here is that the labels will show up on a
Dave,
Are you saying that can CanReadFile is called even before the file is
selected ! ?
Fred is saying that his file is not showing up at all, so if
CanReadFile is called only after the file has is selected,
his problem is not releated to CanReadFile.
Nehme
2009/11/9 David E DeMarle :
> In ge
>Do the selected points stay ordered in the order they were selected?
Hmm... I don't know.
If you don't get a response from someone else, maybe you will have to try it ...
Nehme
2009/11/1 David Doria :
> On Sun, Nov 1, 2009 at 2:47 PM, Nehme Bilal wrote:
>> Or maybe add
Or maybe adding a property on each point in the original datasets to
identify from which dataset it's comming from.
Nehme
2009/11/1 David Doria :
> On Sun, Nov 1, 2009 at 2:03 PM, Nehme Bilal wrote:
>> If multi-selection doesn't work on separate data sets, probably
>>
If multi-selection doesn't work on separate data sets, probably
appending the datasets to one dataset (see Append Dataset filter) will
be the solution.
Nehme
2009/11/1 David Doria :
> On Sun, Nov 1, 2009 at 12:05 PM, Nehme Bilal wrote:
>>
>> 1) Am not sure but I think
1) Am not sure but I think you can call Extract Selection filter
internally to get the selection.
2) Select points on works with CTRL.
Nehme
2009/11/1 David Doria :
> I am trying to write a plugin as a Paraview interface to
> vtkLandmarkTransform. The idea is to select three points in data set
CanReadFile can sometime be accepted by more than one reader. A csv
file for example. So CanReadFile is not always enough.
Personally I create my own extension to avoid conflict and ask the
users to change the extension of their file before opening it in
Paraview.
Probably letting the user choose
Hi All,
Is it possible to create a custom object panel for a writer ? using
pqLoadFromObjectPanel ?
I tried it and my GUI is not showing up, so I am wondering if the
reason is because writers doesn't support
custom object panel.
Thank you.
Nehme
___
Pow
Hi all,
I am trying to do a progress bar in a filter. I did the following steps:
1- add an information only property to my xml to pass the progress
status to the client:
2 - connect this property to a slot in the client to update the
progress bar value:
this->curr
Thank you Jean.
What does //BTX and //ETX means ? how to know if a method
is automaticlly or not ?
Thanks,
Nehme
On Sun, 10 May 2009 08:10:09 +0200 (CEST)
Jean Favre wrote:
On 10, May 2009 03:38 AM, Nehme Bilal
wrote:
Hi,
I am using vtkKdTree in a python programmable filter. I
Hi,
I am using vtkKdTree in a python programmable filter. I
would like to use:
void vtkKdTree::FindPointsWithinRadius(double R,
const double x[3],
vtkIdList* result)
but I don't know how to write it in python. I tried the
following :
coord = (687856,539156,269)
result = vtk.vtkIdList()
kd
ll elements and then fires the
> modified event.
>
> Utkarsh
>
> On Thu, Apr 9, 2009 at 8:21 AM, Nehme Bilal wrote:
>> Hi again,
>>
>> I found a way that seems to work, but I still have a problem.
>> The StringVectorProperty I'm using look l
there a way around this ?
Thanks
2009/4/9 Nehme Bilal :
> Hi All,
>
> I have a StringVectorProperty that I'm trying to link to a Qt SLOT in
> the client side of my plugin. I want the SLOT to be called when the
> StringVectorProperty is modified.
> Is that po
Hi All,
I have a StringVectorProperty that I'm trying to link to a Qt SLOT in
the client side of my plugin. I want the SLOT to be called when the
StringVectorProperty is modified.
Is that possible ?
Thanks you
Nehme
___
Powered by www.kitware.com
Visit
Hi,
If I use an implicit_functions in a plugin, like Box, Plane or Sphere,
it will provides it's own gui and add it to the existing gui of the
plugin. But if I use a Qt designer gui, I can't access the gui of the
implicit_functions and the 3D widgets will not show up in the 3D view
!
Is there a wa
Hello,
I think there is some bugs in clip filter and probably
other similar filters. (using proxy Properties)
1 - create a box source, apply a clip on it using a plane,
save the state, disconnect or close paraview, load the
state, try to change the clip type to box for example, no
Box ! ( s
Hi,
to get the active server, look a this example:
pqServer* PrismCore::getActiveServer() const
{
pqApplicationCore* core =
pqApplicationCore::instance();
pqServerManagerSelection sels =
*core->getSelectionModel()->selectedItems();
pqPipelineSource* source = 0;
pqServer* server=0;
Hi Michael,
I think you need to look on:
- pqProxy::setModifiedState(ModifiedState modified);
- vtkSMProxy::Modified();
- vtkSMProperty::SetImmediateUpdate();
I did a similar copy/paste application but also you can
copy and paste sources and readers on the root. I didn't
try to add the auto-ap
to the client side ? if yes, how
to do that ?
The custom view wiki page does not explain anything about
the communication between the view and the server.
Thanks,
Nehme
On Tue, 20 Jan 2009 12:09:05 -0500
"Nehme Bilal" wrote:
Thanks Utkarsh and Moreland for your responses.
I
view to create by default for the filter.
On Tue, Jan 13, 2009 at 10:16 AM, Nehme Bilal
wrote:
Hello,
I'm trying yo create a filter to plot a histogram or a
curve. The output of
this filter will look like the one used for histogram
filter.
I read the documentation on the wiki ab
- I am trying to add an action to paraview that cause a re
apply for all pipeline objets. I tried:
vtkSMProxyManager *pxm =
vtkSMProxyManager::GetProxyManager();
pxm->UpdateRegisteredProxiesInOrder(0);
but this didn't work. I also tried:
vtkSMProxyManager *pxm =
vtkSMProxyManager::GetProxyMa
Hello,
I'm trying yo create a filter to plot a histogram or a
curve. The output of this filter will look like the one
used for histogram filter.
I read the documentation on the wiki about how to create a
custom view, and I think this is my start point. Is that
true ? if yes, from witch class
property, I think
adding a show="1" attribute to the property will make it
show up.
Clint
Utkarsh Ayachit wrote:
You will have to create a custom panel. Look at the
custom panel
example in Examples/Plugin.
Utkarsh
On Sat, Jan 3, 2009 at 4:29 PM, Nehme Bilal
Hi,
I am trying to use "DoubleArrayInformationHelper" to get a
vtkDoubleArray from server side and show it in my filter
GUI.
XML code:
C++:
vtkDoubleArray* GetVolumesArray()
{
return this->volumesArray;
}
The current code don't
sentations,
DataLabelRepresentation) representation proxy and
connect it to the
output of your filter. Then it will label all
points/cells.
Utkarsh
On Mon, Dec 22, 2008 at 9:24 AM, Nehme Bilal
wrote:
Thanks Utkarsh for your response.
that's what I already did. I used empty string on points
where
esentation) representation proxy and
connect it to the
output of your filter. Then it will label all
points/cells.
Utkarsh
On Mon, Dec 22, 2008 at 9:24 AM, Nehme Bilal
wrote:
Thanks Utkarsh for your response.
that's what I already did. I used empty string on points
where I don
t; and then use the
selection
labeling mechanism to label with this string array.
Utkarsh
On Fri, Dec 19, 2008 at 6:04 PM, Nehme Bilal
wrote:
Hello,
Is it possible to put labels on points or cells using a
filter ?
Inside my filter code, I want to do something like:
myPoint->setLabel("
Hello,
Is it possible to put labels on points or cells using a
filter ?
Inside my filter code, I want to do something like:
myPoint->setLabel("50 metres");
the label must look like the selection inspector label and
not the vtkVectorText one.
Is there a way to do that ?
what you do with
keep_proxies. keep_proxies is only a means to access the
newly created using the same old ids from the state
loader.
Utkarsh
Nehme Bilal wrote:
paraview load state use :
void vtkSMProxyManager::LoadState(vtkPVXMLElement*
rootElement,
vtkIdType id,
vtkSMStateLoader* loader/*=NULL*/
oader.
Utkarsh
Nehme Bilal wrote:
paraview load state use :
void vtkSMProxyManager::LoadState(vtkPVXMLElement*
rootElement,
vtkIdType id,
vtkSMStateLoader* loader/*=NULL*/)
so to test if keep_proxies works, I just added 1 to:
spLoader->LoadState(rootElement, 1);
after loading the sta
You can make
the state
loader not clear the proxies it created while loading
the state (call
vtkSMStateLoader::LoadState() with keep_proxies=1) then
you can use
NewProxy(int) to obtain the proxies created associated
with the
SelfIDs in the state file.
Utkarsh
On Sun, Nov 23, 2008 at 11:
ated associated
with the
SelfIDs in the state file.
Utkarsh
On Sun, Nov 23, 2008 at 11:51 AM, Nehme Bilal
<[EMAIL PROTECTED]> wrote:
Hello,
After loading Paraview state, paraview regenerate
proxies selfID, how can I
restore the same selfID's ?
Thanks
Hello,
After loading Paraview state, paraview regenerate proxies
selfID, how can I restore the same selfID's ?
Thanks
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview
Hello,
I am trying to copy proxy properties from xml state. the
folowing code work well for "sources" proxies. It works
also for "representations" proxies, but Instead of copying
properties to the existing representation, it create
another representation and I got this error:
"vtkSMStateLoade
->IsAtEnd(); iter->Next())
{
vtkSMProperty* destProp = iter->GetProperty();
vtkSMProperty* srcProp =
src->GetProperty(iter->GetKey());
if (destProp && srcProp)
{
destProp->Copy(srcProp);
}
}
iter->Delete();
}
Use the above Copy instead of vtkSMProx
sAtEnd(); iter->Next())
{
vtkSMProperty* destProp = iter->GetProperty();
vtkSMProperty* srcProp =
src->GetProperty(iter->GetKey());
if (destProp && srcProp)
{
destProp->Copy(srcProp);
}
}
iter->Delete();
}
Use the above Copy instead of vtkSMProxy::Copy().
Utkarsh
bject inspector properties you'll have to
save/restore the state for the source proxy (and not
merely it's representation proxy).
Utkarsh
Nehme Bilal wrote:
Thank you Utkarsh !
it works but I have some problems like:
- after restoring the proxy, changing some display
properties in
vtkSMProxyManager* pxm = vtkSMObject::GetProxyManager();
vtkSMProxy *tempProxy = pxm->NewProxy(
src->GetXMLGroup(),
src->GetXMLName());
tempProxy->Copy(src);
src->Copy(tempProxy);
Utkarsh
Nehme Bilal wrote:
tempProxy is just a proxy I created using:
vtkSMProxy tempProxy = vtkSMProxy:
re you changing/trying to restore? Is
"tempProxy" of the same type as "src"?
Utkarsh
Nehme Bilal wrote:
Hello,
Sorry I missed a few commas in the last message. this is
the correct one:
I am looking for a way to save a proxy properties and
restore it later.
The only wa
Hello,
Sorry I missed a few commas in the last message. this is
the correct one:
I am looking for a way to save a proxy properties and
restore it later.
The only way I found is by saving and restoring the state
using:
virtual vtkPVXMLElement* SaveState(vtkPVXMLElement* root);
virtual int Lo
Hello,
I am looking for a way to save a proxy properties and
restore it later.
The only way I found is by saving and restoring the state
using:
virtual vtkPVXMLElement* SaveState(vtkPVXMLElement* root);
virtual int LoadState(vtkPVXMLElement* element,
vtkSMStateLoaderBase* loader);
I don't w
Hello,
With the servermanager.py python module we can easily
manipulate the servermanager as described in the document
servermanager2.pdf
I am looking for some documentation on how to use Pq and
vtk servermanager classes to do what we can do with the
servermanager.py module using C++.
Is th
61 matches
Mail list logo