<div dir="ltr">Anton,<div><br></div><div>Thank you for letting us know the problem resolution.</div><div><br></div><div>Best,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 5:50 AM,  <span dir="ltr"><<a href="mailto:anton.piccardo-selg@stfc.ac.uk" target="_blank">anton.piccardo-selg@stfc.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
We figured it out. So, just for reference: We needed to create a Change-of-Basis-Matrix as well as a Bounding-Box-In-Basis and add that to the output data using the functions provided by vtkPVChangeOfBasisHelper.<br>
<br>
Thanks and best regards,<br>
<br>
Anton<br>
<br>
________________________________<br>
From: Piccardo-Selg, Anton (-,RAL,ISIS)<br>
Sent: 23 June 2015 17:14<br>
To: <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a><br>
Subject: "LabelRangeForX" not available in ParaView 4.3.1?<br>
<div class="HOEnZb"><div class="h5"><br>
Hi,<br>
<br>
Our group migrated recently from PV 3.98.1 to PV 4.3.1. We found a migration issue relating to vtkFieldData which is produced by one of our plugins.<br>
<br>
The field data makes use of "LabelRangeForX" , "LabelRangeActiveFlag", "LinearTransformForX" , etc. We use these properties to set the range of the axes in our application.<br>
<br>
We have something like this:<br>
...<br>
double boundingBox[6];<br>
m_inputData->GetBounds(boundingBox);<br>
vtkFieldData *fieldData = m_outputData->GetFieldData();<br>
...<br>
vtkNew<vtkFloatArray> uLabelRange;<br>
uLabelRange->SetNumberOfComponents(2);<br>
uLabelRange->SetNumberOfTuples(1);<br>
uLabelRange->SetName("LabelRangeForX");<br>
double labelRangeX[2] = {boundingBox[0], boundingBox[1]};<br>
uLabelRange->SetTuple(0, labelRangeX);<br>
fieldData->AddArray(uLabelRange.GetPointer());<br>
...<br>
<br>
<br>
A grep showed that PV3.98.1 contains references to these properties (e.g. inĀ  vtkCubeAxesRepresentation.cxx) while PV4.3.1 does not seem to contain this any longer.<br>
<br>
What are the appropriate properties in PV4.3.1? Or is it not possible to apply this kind of mechanism in PV4.3.1?<br>
<br>
Many thanks and best regards,<br>
<br>
Anton<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>