View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005521ParaView(No Category)public2007-08-16 15:362011-01-13 17:00
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.4Fixed in Version3.4 
Summary0005521: Add a ruler source/filter
DescriptionA user has requested that we add a ruler type feature to ParaView. This user wants to know how far two cells, points, or objects are from each other.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0008494)
Alan Scott (manager)
2007-08-16 19:00

In ParaView 2.6, you do this with the icon that looks like a ruler. It is a line source. You place the ends of the line on a surface by hitting the 'p' key. The length is displayed right below the x,y, and z of point 1 and point 2 (on the Parameters tab).

PV 3.0 has a line source, but 1) you cannot place the ends easily on the top of a surface, and 2) it does not display the length of the line.
(0010548)
Alan Scott (manager)
2008-02-18 15:18

I am changing this to High priority. We have had multiple requests that we have some type of ruler function. We need to at least implement either this feature, or 5422.
(0011947)
Utkarsh Ayachit (administrator)
2008-05-15 13:57

Change line source to show length information somewhere.
(0011974)
Utkarsh Ayachit (administrator)
2008-05-16 15:56

A new "Ruler" source has been added.
(0012060)
Alan Scott (manager)
2008-05-21 22:50

I'm pretty sure this is messing up the cube axis. Thus, asking for feedback on this bug.

Please run exactly as follows:

* Client/server - 6 servers. XP client.
* Open disk_out_ref.exo. Apply.
* Sources/ Ruler. (Don't hit apply)
* On bottom of cylinder, hit a 'p'.
* On top of cylinder, hit a 'p'.
(Note, it would sure be nice to document somehow that you could hit a p here.)
(Note, it would sure be nice to auto-accept here.)
* Apply.
* Display tab/ Show cube axes. The axes are located inside of the cylinder.
(0012061)
Alan Scott (manager)
2008-05-21 22:54

Ah-hah. Lots of the junk above doesn't have to be done - the cube axes for the ruler is always weird. Turns out that it is putting the cube axes around the ruler itself. Does this make sense - should we just leave it, or should we turn off the Show Cube Axes for the ruler (and does that make sense)?
(0012068)
Utkarsh Ayachit (administrator)
2008-05-22 07:42

Berk was suggesting we don't create any representation for the ruler. In otherwords, the display tab will never be enabled for the ruler, hence one will never see the cube-axes. Does that work?

I am guessing, however, the cube-axes has issues dealing with 1D data. So that is a bug we'd surely want to fix at some point.
(0012167)
Utkarsh Ayachit (administrator)
2008-05-30 14:55

We can no longer apply cube-axes to the ruler.
(0012192)
Alan Scott (manager)
2008-06-02 18:58

Very nice.

Now, when we turn on the ruler, and hit Apply (the button goes green), a seperate window opens up - with only the ruler in it.

XP client/ 6 pvservers
Open can.exo, apply.
Sources/ Ruler/ apply.
(0012193)
Alan Scott (manager)
2008-06-02 18:59

Oh yes - when you close the separate window, PV crashes.
(0012271)
Utkarsh Ayachit (administrator)
2008-06-06 09:42

* vtkLineRepresentation was not passing the renderer to the internal
  representations, consequently, when the view was destroyed the internal
  representations had a dangling pointer which led to segfaults.
* pqDisplayPolicy was create a new render view even when the render view could
  not show the current source. This was resulting the a new 3D view being
  created when a ruler source was created. Fixed that.

/cvsroot/ParaView3/ParaView3/Qt/Core/pqDisplayPolicy.cxx,v <-- Qt/Core/pqDisplayPolicy.cxx
new revision: 1.38; previous revision: 1.37
/cvsroot/ParaView3/ParaView3/VTK/Widgets/vtkLineRepresentation.cxx,v <-- VTK/Widgets/vtkLineRepresentation.cxx
new revision: 1.11; previous revision: 1.10
/cvsroot/ParaView3/ParaView3/VTK/Widgets/vtkLineRepresentation.h,v <-- VTK/Widgets/vtkLineRepresentation.h
new revision: 1.6; previous revision: 1.5
(0012296)
Alan Scott (manager)
2008-06-09 20:51

Great new feature.

Tested local client. Blackrose is down.

 Issue History
Date Modified Username Field Change
2007-08-16 15:36 Alan Scott New Issue
2007-08-16 19:00 Alan Scott Note Added: 0008494
2007-08-29 16:00 Berk Geveci Status backlog => tabled
2008-02-18 15:18 Alan Scott Note Added: 0010548
2008-02-18 15:18 Alan Scott Priority normal => high
2008-02-18 15:18 Alan Scott Category => 3.2
2008-04-14 17:10 Berk Geveci Assigned To => Berk Geveci
2008-04-14 17:10 Berk Geveci Category => 3.4
2008-05-15 13:57 Utkarsh Ayachit Note Added: 0011947
2008-05-15 13:57 Utkarsh Ayachit Assigned To Berk Geveci => Utkarsh Ayachit
2008-05-16 15:56 Utkarsh Ayachit Status tabled => @80@
2008-05-16 15:56 Utkarsh Ayachit Resolution open => fixed
2008-05-16 15:56 Utkarsh Ayachit Note Added: 0011974
2008-05-21 22:50 Alan Scott Status @80@ => @20@
2008-05-21 22:50 Alan Scott Resolution fixed => reopened
2008-05-21 22:50 Alan Scott Note Added: 0012060
2008-05-21 22:54 Alan Scott Note Added: 0012061
2008-05-22 07:42 Utkarsh Ayachit Note Added: 0012068
2008-05-30 14:55 Utkarsh Ayachit Status @20@ => @80@
2008-05-30 14:55 Utkarsh Ayachit Resolution reopened => fixed
2008-05-30 14:55 Utkarsh Ayachit Note Added: 0012167
2008-06-02 18:58 Alan Scott Status @80@ => @20@
2008-06-02 18:58 Alan Scott Resolution fixed => reopened
2008-06-02 18:58 Alan Scott Note Added: 0012192
2008-06-02 18:59 Alan Scott Note Added: 0012193
2008-06-06 09:42 Utkarsh Ayachit Status @20@ => @80@
2008-06-06 09:42 Utkarsh Ayachit Resolution reopened => fixed
2008-06-06 09:42 Utkarsh Ayachit Note Added: 0012271
2008-06-09 20:51 Alan Scott Status @80@ => closed
2008-06-09 20:51 Alan Scott Note Added: 0012296
2009-05-13 13:58 Utkarsh Ayachit Target Version => 3.4
2009-05-13 13:59 Utkarsh Ayachit Fixed in Version => 3.4
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team