[vtk-developers] vtkAxisActor CalculateTitleOffset/CalculateLabelOffset
Mathieu Westphal
mathieu.westphal at kitware.com
Fri Feb 26 09:11:05 EST 2016
Hello
Is anyone using the the
vtkAxisActor::CalculateTitleOffset/CalculateLabelOffset flags ?
I'm in the process of rewriting a big part of this class in order to add
Features.
It is true by default, but all users of this class pass it to false.
AFAIU, when this flag is true, the vtkAxisActor *user *is suposed to take
care of setting the screenoffset itself, the axis actor only positioning
using position
and not position + offset as it should.
The code i'm working on is way more complicated, and i could implement this
flag as well, but it will overcomplicate this class, and if it is not used,
i would like to drop it and warning the flag as being ignored now. Of
course a code relying of this flag, if there is any, will break.
Mathieu Westphal
On Fri, Feb 26, 2016 at 4:45 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> Mathieu,
>
> The short answer is no one really knows the details of this class too
> well. This code had it's birth in VisIt and was moved to VTK a while
> ago.
>
> Utkarsh
>
> On Thu, Feb 25, 2016 at 12:56 PM, Aashish Chaudhary
> <aashish.chaudhary at kitware.com> wrote:
> > Hi Mathieu,
> >
> > I used this class (did I write it?) long time back and I have to look
> > into it to provide you any meaningful answer. What you are trying to
> > do?
> >
> > Also, Seb and Utkarsh may have touched this class recently.
> >
> > Thanks
> >
> >
> > On Thu, Feb 25, 2016 at 12:43 PM, Berk Geveci <berk.geveci at kitware.com>
> wrote:
> >> I have no idea :-) I suggest that you email the Kitware developers list.
> >>
> >> -berk
> >>
> >> On Thu, Feb 25, 2016 at 10:41 AM, Mathieu Westphal
> >> <mathieu.westphal at kitware.com> wrote:
> >>>
> >>> Hi
> >>>
> >>> I'm trying to understand the usage of these flags, and I just can't
> make
> >>> sense of it.
> >>>
> >>> Both vtkAxisActor user ( CubeAxes and PolarAxe) set this flag to
> false, in
> >>> order to use the SetScreenOffset in order to have a screen scale
> adaptable
> >>> offset.
> >>>
> >>> When set to true, it write the offset directly into the position of the
> >>> actor, preventing the axisFollower to ever of the screen offset
> correctly.
> >>>
> >>> Do i miss something ?
> >>>
> >>> Mathieu Westphal
> >>
> >>
> >
> >
> >
> > --
> > | Aashish Chaudhary
> > | Technical Leader
> > | Kitware Inc.
> > | http://www.kitware.com/company/team/chaudhary.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160226/79a10928/attachment.html>
More information about the vtk-developers
mailing list