Hello everyone, Looks like this was very easy patch (3 lines of code):-). I made it by adding setting X, Y and Z axes ranges of used vtkCubeAxesActor object to data ranges at the end of vtkCubeAxesRepresentation::UpdateBounds(). Aashish, thank You very much on Your hint! However, I hit another problem. I wanted to add check box on "Edit Cube Axes Properties" dialog which should control which behavior will be used (generate tick labels from original or scaled / transformed data). However, I couldn't connect it with code I added in vtkCubeAxesRepresentation class. I couldn't even retrieve UnscaledTicks property of passed representation in pqCubeAxesEditorDialog::setRepresentationProxy() routine.
Is adding of 'bool UnscaledTicks' to vtkCubeAxesRepresentation class enough to have "UnscaledTicks" property or there is some additional code I should call? Also, am I on good way of connecting my check-box with vtkCubeAxesRepresentation? Any comment is highly appreciated:-)! Best regards, Nenad. On Wed, Oct 26, 2011 at 5:57 PM, Aashish Chaudhary <[email protected]> wrote: > Hi Nenad, > > I looked into the code and the behavior you are seeing is correct. So it is > not a bug but I think what you are asking is quite logicial. > > Probably I need to put some logic in vtkCubeAxesRepresentation. I will drop > another email once I have it working. > > Best, > > > > On Tue, Oct 18, 2011 at 2:04 PM, Aashish Chaudhary > <[email protected]> wrote: >> >> Hi Nenad, >> >> I looked into some but then got distracted. I will try to have a >> solution this week. >> >> Sorry about the delay. >> >> Thanks, >> >> >> On Tue, Oct 18, 2011 at 6:31 AM, Nenad Vujicic <[email protected]> wrote: >> > Hello everyone, >> > >> > Does anyone have idea how to fix vtkCubeAxesActor.cxx so it doesn't >> > scale axes ticks too? Also, is this expected behavior or a bug? >> > >> > Best regards, >> > Nenad. >> > >> > On Mon, Oct 3, 2011 at 7:21 PM, Nenad Vujicic <[email protected]> wrote: >> >> Dear Aashish, >> >> >> >> On Mon, Oct 3, 2011 at 6:34 PM, Aashish Chaudhary >> >> <[email protected]> wrote: >> >>> Hi Nenand, >> >>> ... >> >>> I can have a look at it but it may take one or two days before I get >> >>> to it. How soon you need this? >> >>> >> >>> >> >> >> >> Thank You very much for Your response! I'm not in big rush, so it can >> >> wait few days. >> >> >> >> Best regards, >> >> Nenad. >> >> >> > _______________________________________________ >> > 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 ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://www.paraview.org/mailman/listinfo/paraview >> > >> >> >> >> -- >> | Aashish Chaudhary >> | R&D Engineer >> | Kitware Inc. >> | www.kitware.com > > > > > -- > | Aashish Chaudhary > | R&D Engineer > | Kitware Inc. > | www.kitware.com _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
