DGV Discussion/Support Group is here!

0 views
Skip to first unread message

Shakes

unread,
Dec 27, 2009, 6:13:19 PM12/27/09
to discrete-geometry-viewer
Hi Everyone,

Feel free to ask questions, request features, report bugs etc.
anything to do with helping improve the DGV software and its user/
developer experience.

Some useful links:
sf.net page -> http://qcplusplus.sourceforge.net/
Google Code page -> http://code.google.com/p/discrete-geometry-viewer/
My Blog -> http://l3mmings.blogspot.com/

Cheers
Shakes

August

unread,
Jan 19, 2010, 2:39:30 PM1/19/10
to discrete-geometry-viewer
Hi Shakes,

In the Merge Surface Plot with Image context menu, how do you draw the
height of the the object in the image? And could you tell me in what
file you perform the calculation of the objects' height?

Thank you very much.
Dao

Shakes

unread,
Jan 20, 2010, 6:18:08 AM1/20/10
to discrete-geometry-viewer
Hi Dao,

You can find the scaling in the generatePlotMergedWith() function in
DGVSurfacePlotVTK.cpp line 261

scaling = 0.2*( 1.0 / ( 2.0*(Blitz.getMax()-Blitz.getMin()) / (bounds
[1]+bounds[3]) ) );

In otherwords, 1/5 of the normalised length of the z-axis with respect
to the other axes, where the normalised length is the total spread of
the data (min to max) divided by the average length of the other axes.
To use an adjustable height, use the Surface Plot from the Table.
Table can be generated from the Image context menu.

Hope that answers your question.
Cheers
Shakes

Reply all
Reply to author
Forward
0 new messages