myPlaneId(-1)
{
myViewWindow = VISU::GetActiveViewWindow<SVTK_ViewWindow>(myModule);
- ComputeVisiblePropBounds(myViewWindow->getRenderer(), myBounds);
+ VISU::ComputeVisiblePropBounds(myViewWindow, myBounds);
setWindowTitle(tr("TITLE"));
setSizeGripEnabled(true);
}
//------------------------------------------------------------
- static
bool
ComputeVisiblePropBounds(SVTK_ViewWindow* theViewWindow,
vtkFloatingPointType allBounds[6],
- const char* theActorClassName = "VISU_Actor")
+ const char* theActorClassName)
{
vtkRenderer *aRen = theViewWindow->getRenderer();
vtkActorCollection *anActColl = aRen->GetActors();
void RecreateActor(const SalomeApp_Module* theModule,
VISU::Prs3d_i* thePrs);
+ bool ComputeVisiblePropBounds(SVTK_ViewWindow* theViewWindow,
+ vtkFloatingPointType allBounds[6],
+ const char* theActorClassName = "VISU_Actor");
+
/*!
* \brief Advanced FitAll, sets view projection in accordance with current view contents
*