本文整理汇总了C++中ViewPtr::getRenderer方法的典型用法代码示例。如果您正苦于以下问题:C++ ViewPtr::getRenderer方法的具体用法?C++ ViewPtr::getRenderer怎么用?C++ ViewPtr::getRenderer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ViewPtr
的用法示例。
在下文中一共展示了ViewPtr::getRenderer方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: addRepActorsToViewRenderer
/**
* Adds rep assigned actors to the active renderer
*/
void FiberBundleRep::addRepActorsToViewRenderer(ViewPtr view)
{
view->getRenderer()->AddActor(mActor);
if (mViewportListener)
mViewportListener->startListen(view->getRenderer());
}
示例2: removeRepActorsFromViewRenderer
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();
}
示例3: removeRepActorsFromViewRenderer
/**
* Removes rep assigned actors from the rendering pipeline
*/
void FiberBundleRep::removeRepActorsFromViewRenderer(ViewPtr view)
{
view->getRenderer()->RemoveActor(mActor);
if (mViewportListener)
mViewportListener->stopListen();
}
示例4: addRepActorsToViewRenderer
void MetricNamesRep::addRepActorsToViewRenderer(ViewPtr view)
{
for(unsigned i =0; i<mDisplayText.size(); ++i)
{
mDisplayText[i]->setRenderer(view->getRenderer());
}
}
示例5: addRepActorsToViewRenderer
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());
}
示例6: addRepActorsToViewRenderer
void PlaneMetricRep::addRepActorsToViewRenderer(ViewPtr view)
{
mViewportListener->startListen(view->getRenderer());
DataMetricRep::addRepActorsToViewRenderer(view);
}
示例7:
void PointMetricRep2D::addRepActorsToViewRenderer(ViewPtr view)
{
if (mViewportListener)
mViewportListener->startListen(view->getRenderer());
DataMetricRep::addRepActorsToViewRenderer(view);
}
示例8: removeRepActorsFromViewRenderer
void VolumetricRep::removeRepActorsFromViewRenderer(ViewPtr view)
{
view->getRenderer()->RemoveVolume(mVolume);
}
示例9: addRepActorsToViewRenderer
void VolumetricRep::addRepActorsToViewRenderer(ViewPtr view)
{
view->getRenderer()->AddVolume(mVolume);
}
示例10:
void GeometricRep2D::removeRepActorsFromViewRenderer(ViewPtr view)
{
view->getRenderer()->RemoveActor(mActor);
}
示例11: removeRepActorsFromViewRenderer
void OrientationAnnotationSmartRep::removeRepActorsFromViewRenderer(ViewPtr view)
{
view->getRenderer()->RemoveActor(mOrientation);
}
示例12: addRepActorsToViewRenderer
void OrientationAnnotationSmartRep::addRepActorsToViewRenderer(ViewPtr view)
{
this->transformChangedSlot();
view->getRenderer()->AddActor(mOrientation);
}
示例13:
void Slices3DRep::removeRepActorsFromViewRenderer(ViewPtr view)
{
for (unsigned i=0; i<mProxy.size(); ++i)
view->getRenderer()->RemoveActor(mProxy[i]->getActor());
}