[Paraview-developers] "LabelRangeForX" not available in ParaView 4.3.1?

Cory Quammen cory.quammen at kitware.com
Mon Jun 29 23:19:39 EDT 2015


Anton,

Thank you for letting us know the problem resolution.

Best,
Cory

On Wed, Jun 24, 2015 at 5:50 AM, <anton.piccardo-selg at stfc.ac.uk> wrote:

> Hi,
>
> 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.
>
> Thanks and best regards,
>
> Anton
>
> ________________________________
> From: Piccardo-Selg, Anton (-,RAL,ISIS)
> Sent: 23 June 2015 17:14
> To: paraview-developers at paraview.org
> Subject: "LabelRangeForX" not available in ParaView 4.3.1?
>
> Hi,
>
> 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.
>
> The field data makes use of "LabelRangeForX" , "LabelRangeActiveFlag",
> "LinearTransformForX" , etc. We use these properties to set the range of
> the axes in our application.
>
> We have something like this:
> ...
> double boundingBox[6];
> m_inputData->GetBounds(boundingBox);
> vtkFieldData *fieldData = m_outputData->GetFieldData();
> ...
> vtkNew<vtkFloatArray> uLabelRange;
> uLabelRange->SetNumberOfComponents(2);
> uLabelRange->SetNumberOfTuples(1);
> uLabelRange->SetName("LabelRangeForX");
> double labelRangeX[2] = {boundingBox[0], boundingBox[1]};
> uLabelRange->SetTuple(0, labelRangeX);
> fieldData->AddArray(uLabelRange.GetPointer());
> ...
>
>
> 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.
>
> What are the appropriate properties in PV4.3.1? Or is it not possible to
> apply this kind of mechanism in PV4.3.1?
>
> Many thanks and best regards,
>
> Anton
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150629/273405c3/attachment.html>


More information about the Paraview-developers mailing list