[Paraview-developers] Panning not working in CustomRenderView
Pandu tech
pandu4tech at gmail.com
Wed Dec 5 10:03:19 EST 2012
Hi,
Thanks for your reply. My CustomRenderView is similar to a 2D view, but it
has a CustomRepresentation.
I have implemented super class methods like this in pqCustomRenderView
class:
Code:
QMap<QString, QString>
pqMeridionalRenderView::interactorStyleSettingsGroupToCameraManipulatorName()
const
{
QMap<QString, QString> SettingsGroupToManipulatorName;
SettingsGroupToManipulatorName["renderModule2D/InteractorStyle"] =
"Camera2DManipulators";
return SettingsGroupToManipulatorName;
}
In pqCustomRenderView.h file I have:
static ManipulatorType* getDefaultManipulatorTypes()
{ return pqMeridionalRenderView::DefaultManipulatorTypes; }
virtual ManipulatorType* getManipulatorTypes(int &numberOfManipulatorType)
{
numberOfManipulatorType = 9;
return pqMeridionalRenderView::DefaultManipulatorTypes;
}
Only mouse scroll is working in this view, which is giving zoom in
effect. Mouse Left button is not giving any effect.
Appreciate your help in this regard.
Thanks,
Pandu.
On Wed, Dec 5, 2012 at 12:47 PM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:
> Don't know what's your custom renderview is doing compare to the regular
> one? Do you chose an interaction type 2d/3d?
>
> Seb
>
> On Dec 5, 2012, at 4:30, Pandu tech <pandu4tech at gmail.com> wrote:
>
> > Hi,
> >
> > My pqCustomRenderView is derived from pqRenderviewBase class. I have
> updated my ParaView and VTK to the latest version. Since then, Panning is
> not working in my CustomRenderView, but in case of 3D , 2D views there is
> no such problem.
> >
> > Since VTK is updated, do I need to make any changes in my
> pqCustomRenderView.
> >
> > Please share any suggestions in this regard.
> >
> > Thanks in advance.
> >
> >
> > Regards,
> > Pandu.
> > _______________________________________________
> > Paraview-developers mailing list
> > Paraview-developers at paraview.org
> > http://public.kitware.com/mailman/listinfo/paraview-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20121205/ed44468c/attachment.htm>
More information about the Paraview-developers
mailing list