/** * Adds rep assigned actors to the active renderer */ void FiberBundleRep::addRepActorsToViewRenderer(ViewPtr view) { view->getRenderer()->AddActor(mActor); if (mViewportListener) mViewportListener->startListen(view->getRenderer()); }
void VideoFixedPlaneRep::removeRepActorsFromViewRenderer(ViewPtr view) { mRenderer = vtkRendererPtr(); view->getRenderer()->RemoveActor(mRTGraphics->getActor()); view->getRenderer()->RemoveActor(mInfoText->getActor()); view->getRenderer()->RemoveActor(mStatusText->getActor()); view->getRenderer()->RemoveActor(mOrientationVText->getActor()); mProbeOrigin->setRenderer(NULL); mProbeSector->setRenderer(NULL); mProbeClipRect->setRenderer(NULL); mViewportListener->stopListen(); }
/** * Removes rep assigned actors from the rendering pipeline */ void FiberBundleRep::removeRepActorsFromViewRenderer(ViewPtr view) { view->getRenderer()->RemoveActor(mActor); if (mViewportListener) mViewportListener->stopListen(); }
void MetricNamesRep::addRepActorsToViewRenderer(ViewPtr view) { for(unsigned i =0; i<mDisplayText.size(); ++i) { mDisplayText[i]->setRenderer(view->getRenderer()); } }
void VideoFixedPlaneRep::addRepActorsToViewRenderer(ViewPtr view) { mRenderer = view->getRenderer(); mViewportListener->startListen(mRenderer); view->getRenderer()->AddActor(mRTGraphics->getActor()); view->getRenderer()->AddActor(mInfoText->getActor()); view->getRenderer()->AddActor(mStatusText->getActor()); view->getRenderer()->AddActor(mOrientationVText->getActor()); mProbeClipRect->setRenderer(view->getRenderer()); mProbeOrigin->setRenderer(view->getRenderer()); mProbeSector->setRenderer(view->getRenderer()); }
void PlaneMetricRep::addRepActorsToViewRenderer(ViewPtr view) { mViewportListener->startListen(view->getRenderer()); DataMetricRep::addRepActorsToViewRenderer(view); }
void CameraControl::refreshView(ViewPtr view) { this->setView(view); if(view) view->getRenderer()->ResetCameraClippingRange(); }
void PointMetricRep2D::addRepActorsToViewRenderer(ViewPtr view) { if (mViewportListener) mViewportListener->startListen(view->getRenderer()); DataMetricRep::addRepActorsToViewRenderer(view); }
void VolumetricRep::removeRepActorsFromViewRenderer(ViewPtr view) { view->getRenderer()->RemoveVolume(mVolume); }
void VolumetricRep::addRepActorsToViewRenderer(ViewPtr view) { view->getRenderer()->AddVolume(mVolume); }
void GeometricRep2D::removeRepActorsFromViewRenderer(ViewPtr view) { view->getRenderer()->RemoveActor(mActor); }
void GeometricRep2D::addRepActorsToViewRenderer(ViewPtr view) { view->getRenderer()->AddActor(mActor); }
void OrientationAnnotationSmartRep::removeRepActorsFromViewRenderer(ViewPtr view) { view->getRenderer()->RemoveActor(mOrientation); }
void OrientationAnnotationSmartRep::addRepActorsToViewRenderer(ViewPtr view) { this->transformChangedSlot(); view->getRenderer()->AddActor(mOrientation); }
void Slices3DRep::removeRepActorsFromViewRenderer(ViewPtr view) { for (unsigned i=0; i<mProxy.size(); ++i) view->getRenderer()->RemoveActor(mProxy[i]->getActor()); }
void Slices3DRep::addRepActorsToViewRenderer(ViewPtr view) { for (unsigned i=0; i<mProxy.size(); ++i) view->getRenderer()->AddActor(mProxy[i]->getActor()); }