[Paraview] Object Inspector Tabs

2011-08-04 Thread Brian C. Panneton (CONTR)
I was wondering if there was an example of how to add a new tab to the Object Inspector for a plugin. I remember being told that it is possible, but I can't seem to find any examples. Thanks, Brian Panneton ___ Powered by www.kitware.com Visit other

Re: [Paraview] Applying Texture with Plugin

2011-07-26 Thread Brian C. Panneton (CONTR)
, the texture is not loading properly. Does anyone know what is wrong here? Thanks, Brian Brian C. Panneton (CONTR) wrote: I am trying to make a simple plugin to automatically apply a texture to a plane source. I am looking at this code for reference: http://www.vtk.org/Wiki/VTK/Examples/Cxx

[Paraview] Applying Texture with Plugin

2011-07-25 Thread Brian C. Panneton (CONTR)
I am trying to make a simple plugin to automatically apply a texture to a plane source. I am looking at this code for reference: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TextureMapPlane So far I have figured out that I need to use a custom representation, but I have not figure

Re: [Paraview] Representations in 3.10.1

2011-07-13 Thread Brian C. Panneton (CONTR)
? Brian C. Panneton (CONTR) wrote: I was trying to do the Representations Example for 3.10.1 however it failed to run. I grabbed the latest from the git repo and tried that example and it seems to work. However, when I attempt to use it, I receive an error: 'vtkGeometryRepresentation.cxx, line 455

[Paraview] Representations in 3.10.1

2011-07-12 Thread Brian C. Panneton (CONTR)
I was trying to do the Representations Example for 3.10.1 however it failed to run. I grabbed the latest from the git repo and tried that example and it seems to work. However, when I attempt to use it, I receive an error: 'vtkGeometryRepresentation.cxx, line 455 vtkMySpecialRepresentation

[Paraview] Lines, Splines and Tubes

2011-06-01 Thread Brian C. Panneton (CONTR)
I have a vtkUnstructuredGrid with a bunch of points and lines. For each of the lines I want to overlay a tube and change it so it arcs like a rainbow. What is the best way to go about doing this? Right now it looks like I need to use splines and tubes, however it seems difficult to create a

[Paraview] Map Image To Plane

2011-06-01 Thread Brian C. Panneton (CONTR)
Is it possible from within a reader plugin to read in an image and map it to a plane? It seems that I must use a texture and an actor in order to do this. Thanks, Brian Panneton ___ Powered by www.kitware.com Visit other Kitware open-source projects

[Paraview] 3D Glyph Reduction

2011-05-26 Thread Brian C. Panneton (CONTR)
I have an obj file and a ply file which both have a lot of detail. The ply has around 48000 points (1MB) and the obj has round 6000 points (.2MB). I want to use these two as glyphs for each point in my reader. I am able to load them, but since they are huge on their own, it bogs down ParaView.

Re: [Paraview] 3D Glyph Reduction

2011-05-26 Thread Brian C. Panneton (CONTR)
that come with Paraview? i think they include a maskpoints option too. On Friday 27 May 2011 01:23 AM, Brian C. Panneton (CONTR) wrote: It has cells as well which I'd like to keep. Say it was a Car with lots of detail. I want it to end up still looking like a car but with 4800 points instead

Re: [Paraview] 3D Glyph Reduction

2011-05-26 Thread Brian C. Panneton (CONTR)
Joseph, That seems to be what I was looking for. Thanks, Brian joseph insley wrote: You could try using the Clean filter to merge redundant points, and play with the tolerance to further reduce complexity. On May 26, 2011, at 3:04 PM, Brian C. Panneton (CONTR) wrote: I'm using custom

[Paraview] Glyph Trouble

2011-05-20 Thread Brian C. Panneton (CONTR)
I'm trying to put a glyph on every point for a filter. Currently it apply only one glyph containing all of the points. Am I doing something wrong here? [code] vtkSmartPointervtkPolyData pd = vtkSmartPointervtkPolyData::New(); vtkSmartPointervtkPoints points2 =

Re: [Paraview] Glyph Trouble

2011-05-20 Thread Brian C. Panneton (CONTR)
Ah, I had the Style Representation set to Outline, so the Outline contained all of the points. When changed to surface, I see what I want. Thanks, Brian Panneton Brian C. Panneton (CONTR) wrote: I'm trying to put a glyph on every point for a filter. Currently it apply only one glyph

[Paraview] Hiding Cells

2011-05-13 Thread Brian C. Panneton (CONTR)
I have a reader plugin that has a group of VTK_LINES that exist between points. The color of these lines represent statistical data at a specific time. Sometimes there is no data for the line, thus the scalar = 0. When this occurs, I would like to hide the line from sight. Is there a way to do

Re: [Paraview] Hiding Cells

2011-05-13 Thread Brian C. Panneton (CONTR)
Ah, that will do what I want. Thanks, Brian Panneton Robert Maynard wrote: Hi, You should be able to apply a threshold filter on the dataset set to only show scalar values greater than 0. On Fri, May 13, 2011 at 2:41 PM, Brian C. Panneton (CONTR) brian.c.panneton@us.army.mil

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Brian C. Panneton (CONTR)
browser and then select the filter again. Does that seem to update the menus correctly? Utkarsh On Mon, May 9, 2011 at 5:20 PM, Brian C. Panneton (CONTR) brian.c.panneton@us.army.mil wrote: Everything in the information tab does look correct. (Sorry I forgot to mention that I switched from

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Brian C. Panneton (CONTR)
/ArraySelectionDomain /StringVectorProperty /SourceProxy /ProxyGroup /ServerManagerConfiguration [/code] Yumin Yuan wrote: Can you post your xml description for the reader? There may be something wrong in there. Yumin On Mon, May 9, 2011 at 5:20 PM, Brian C. Panneton (CONTR) brian.c.panneton

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Brian C. Panneton (CONTR)
10, 2011 at 9:11 AM, Brian C. Panneton (CONTR) brian.c.panneton@us.army.mil wrote: Yes, by selecting a different source, the filter menu is enabled. When I go back to my reader the filters are again disabled. So I feel like something is not being set correctly when I press accept(). Or maybe

Re: [Paraview] 3D Glyph Representation Question

2011-05-09 Thread Brian C. Panneton (CONTR)
://www.lnm.mw.tum.de = On Thursday 05 May 2011 10:32:07 pm Brian C. Panneton (CONTR) wrote: I currently have a reader that creates a vtkMultiBlockDataSet with two blocks: one of which is a polydata consisting of vertices and lines. I see

[Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
I have created a reader which makes a vtkMultiBlockDataSet containing a vtkPolyData. It reads in 100 some points and plots lines between them. After I read them in, I don't have the option to use any filters on the data. Any idea why this is disabled? Could it be related to the data having

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
Utkarsh Ayachit wrote: Did you hit Apply? What does the Information tab say? Utkarsh On Mon, May 9, 2011 at 12:41 PM, Brian C. Panneton (CONTR) brian.c.panneton@us.army.mil wrote: I have created a reader which makes a vtkMultiBlockDataSet containing a vtkPolyData. It reads in 100 some

Re: [Paraview] Reader has Filters Disabled`

2011-05-09 Thread Brian C. Panneton (CONTR)
to say which one without looking at the code, however. Utkarsh On Mon, May 9, 2011 at 3:38 PM, Brian C. Panneton (CONTR) brian.c.panneton@us.army.mil wrote: The custom accept is on a custom panel. The custom accept just makes sure the GUI selections are sent to the vtkobjects. When apply

[Paraview] 3D Glyph Representation Question

2011-05-05 Thread Brian C. Panneton (CONTR)
I currently have a reader that creates a vtkMultiBlockDataSet with two blocks: one of which is a polydata consisting of vertices and lines. I see the data in a 3D plot as pixels and lines connecting them. To make it more visually appealing, I was looking into views and a saw that they

[Paraview] Single Reader to Multiple Views

2011-05-04 Thread Brian C. Panneton (CONTR)
Is it possible to have a singe reader (reads in to a vtkMultiBlockDataSet) and have multiple views to display the data at the same time? For instance, Block 1 would have data for a sphere and Block 2 would have data for a 2D chart representing some statistic. Once you read the data, it will

[Paraview] Time Range Skipping

2011-04-28 Thread Brian C. Panneton (CONTR)
I am attempting to set up a time range for my reader. However, it increments the time range by 1/10ths instead of by 1. So if my range start = 0 and range end = 4000, I get 10 steps instead of 4000. My RequestInformation looks like such: [code] ... double timeRange[2]; timeRange[0] =

[Paraview] Updating DataArraySelection Problem

2011-04-21 Thread Brian C. Panneton (CONTR)
While working on my custom panel, I thought I had everything correct to allow a single QComboBox to populate a checkable QListWidget based on what was selected. However, now I am running into an issue where items added to the DataArraySelection do not get removed when I had thought they would.

[Paraview] Custom Panel Force Accept

2011-04-19 Thread Brian C. Panneton (CONTR)
I have a custom panel which has a QListWidget. The panel updates the widget when another panel widget gets changed. I have a SLOT which catches this change, modifies the QListWidget. I have another SLOT catch when the QListWidgetItems are checked/unchecked and calls this-setModified(). Thus