[vtkusers] Question on Viewports/vtkChartXY/SetGeometry in example TestMultipleChartRenderers.cxx

nclemeur nclemeur at gmail.com
Mon Dec 6 23:04:36 EST 2010



Marcus D. Hanwell-2 wrote:
> 
> Hi Daniel,
> 
> I just merged a topic, and a new test, TestPlotMatrix, which shows a
> 

Hello Marcus, 



I did play a little bit with the sample and it is looking quite good. I
might have found one small glitch:

when you zoom on a chart using the right mouse button, and then you "move"
(I am not really sure about the term) using the left button, it seems that
the grid lines are displayed outside the chart area. I have included a
snapshot that display the problem, but I am not really sure how that will be
handled by nabble. If you can see the snapshot, just have a look at the
chart at top-left. The grid line for the "0" value is outside the chart
area.

http://vtk.1045678.n5.nabble.com/file/n3295269/plotmatrix.png 

As a small note, it took me quite a while to get this chart build as it
seems that you need to define VTK_DATA_ROOT to get it build. I don't believe
it requires it...

I'll continue to play with these in the near feature. Thanks a lot for your
work on this.

Cheers

Nicolas

2x2 matrix of charts with full mouse interaction. I still need to
finish cleaning it up, but it should already allow most of what you
need. You will need to get/update VTK master, you can run the test
with a -I argument, so on Linux/Mac it would be (from your VTK build
tree),

./bin/ChartsCxxTests TestPlotMatrix -I

On Windows you may need to add a Release or Debug subdirectory in to
get to the executable.

Marcus

2010/12/1 Frese Daniel Dr. <frese at heidenhain.de>:
> Hi Marcus,
>
> thanks again for your answer and the work you put into this. So I'll
> switch to the
> git stuff. I guess if there is so much new stuff to come, I'll basically
> wait for the 5.8
> release and retest then again, using the git sources.
>
> Daniel
>
>
> -----Ursprüngliche Nachricht-----
> Von: Marcus D. Hanwell [mailto:marcus.hanwell at kitware.com]
> Gesendet: Mittwoch, 1. Dezember 2010 16:47
> An: Frese Daniel Dr.
> Cc: vtkusers at vtk.org
> Betreff: Re: [vtkusers] Question on Viewports/vtkChartXY/SetGeometry in
> example TestMultipleChartRenderers.cxx
>
> Hi Daniel,
>
> 2010/11/30 Frese Daniel Dr. <frese at heidenhain.de>:
>> Hello Marcus,
>>
>> thank you for your fast answer. Such a feature (multiple graphs - maybe
>> also images ? -
>> in one scene) would be very useful. As I understand it now, this
>> basically means that
>> there are still some open issues in the 2D API, which you are working on.
>
> Multiple images is already possible, the charts have the issue that
> they always grow to fill the scene. So there is some extra code that
> needs to go in there to allow that behavior to be toggled. The charts
> themselves have child items in the scene (the axes, plots etc), and so
> make full use of the scene.
>>
>> We are looking here for some visualization kit for some very basic 3D
>> stuff, but mainly
>> to look at some XY charts and some matrix data - and for this your 2D API
>> looks
>> very nice ! So I try to figure out, whether it makes sense for our
>> purposes
>> to use VTK and the 2D API for this. Two questions on this :
>>
>> - Is there anywhere some kind of overview, which areas of this API are
>> still work
>> in progress, and which are already more stable ? That would help me (as a
>> newbie)
>> trying desperately to get some things running, while they simply don't
>> work the
>> expected way yet...
>
> I will see if I can put something together, this wiki page does not
> yet exist. The VTK examples, and the tests in Charts/Testing/ give
> many examples of what works, along with ParaView which uses the VTK
> charts in its GUI (you can download binaries and see what it already
> exposed).
>>
>> - I know this a difficult one, but what are the priorities on the 2D API
>> stuff ?
>> Is there some kind of target date as when things will kind of settle down
>> ?
>> Does it make sense for me, to check out sources regularly via git ? So
>> far I use the
>> 5.6.1 release.
>
> I think it would make sense to check out the source via git. I am
> working on several new features, there is an article in the Source,
>
> http://www.kitware.com/products/html/NewChartAPIInVTK.html
>
> We have a new release (VTK 5.8), and I will be getting things ready
> for that release. There are a few new chart types, along with the work
> we are doing on Marks (Protovis like API in C++ over the 2D API/2D
> scene). I monitor the mailing lists, but will see about making a high
> level summary of this work. I will post to the list when I do so.
>
> There are a few topic branches I am getting ready to merge into VTK
> master for things like 2D histograms (color maps), fixed size charts
> (enabling multiple charts with interaction in one scene).
>
> Marcus
>
>
> -------------------------------------------------------------------------------------------------------
> Registergericht: Traunstein / Registry Court: HRB 275 – Sitz / Head
> Office: Traunreut
> Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard
> Geschäftsführung / Management Board: Thomas Sesselmann (Vorsitzender /
> Chairman),
> Michael Grimm, Matthias Fauser, Sebastian Tondorf
>
> E-Mail Haftungsausschluss / E-Mail Disclaimer:
> http://www.heidenhain.de/disclaimer
>
>
>
_______________________________________________
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 VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ

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



-- 
View this message in context: http://vtk.1045678.n5.nabble.com/Question-on-Viewports-vtkChartXY-SetGeometry-in-example-TestMultipleChartRenderers-cxx-tp3284622p3295269.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list