![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <vtkwidget.h>


Public Member Functions | |
| VtkWidget (QWidget *parent=nullptr) | |
| virtual | ~VtkWidget () |
| void | setMultiViewports (bool multi=true) |
| bool | multiViewports () const |
| void | createActorFromVTKDataSet (const vtkSmartPointer< vtkDataSet > &data, vtkSmartPointer< vtkLODActor > &actor, bool use_scalars=true) |
| void | addActor (vtkProp *actor, const QColor &clr=Qt::black) |
| void | addViewProp (vtkProp *prop) |
| QList< vtkProp * > | actors () const |
| void | setActorsVisible (bool visible) |
| void | setActorVisible (vtkProp *actor, bool visible) |
| bool | actorVisible (vtkProp *actor) |
| void | setBackgroundColor (const QColor &clr) |
| void | setBackgroundColor () |
| QColor | backgroundColor () const |
| vtkRenderer * | defaultRenderer () |
| bool | defaultRendererTaken () const |
| void | showOrientationMarker (bool show=true) |
| vtkRenderWindow * | GetRenderWindow () |
| QVTKInteractor * | GetInteractor () |
Protected Member Functions | |
| void | setBounds (double *bounds) |
| double | xMin () const |
| double | xMax () const |
| double | yMin () const |
| double | yMax () const |
| double | zMin () const |
| double | zMax () const |
Definition at line 37 of file vtkwidget.h.
|
explicit |
Definition at line 130 of file vtkwidget.cpp.
References defaultRenderer().
|
virtual |
Definition at line 136 of file vtkwidget.cpp.
| QList< vtkProp * > VtkUtils::VtkWidget::actors | ( | ) | const |
Definition at line 276 of file vtkwidget.cpp.
| bool VtkUtils::VtkWidget::actorVisible | ( | vtkProp * | actor | ) |
Definition at line 286 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::addActor | ( | vtkProp * | actor, |
| const QColor & | clr = Qt::black |
||
| ) |
Definition at line 204 of file vtkwidget.cpp.
References defaultRenderer(), defaultRendererTaken(), GetRenderWindow(), and Utils::vtkColor().
| void VtkUtils::VtkWidget::addViewProp | ( | vtkProp * | prop | ) |
Definition at line 244 of file vtkwidget.cpp.
References defaultRenderer(), defaultRendererTaken(), and GetRenderWindow().
| QColor VtkUtils::VtkWidget::backgroundColor | ( | ) | const |
Definition at line 311 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::createActorFromVTKDataSet | ( | const vtkSmartPointer< vtkDataSet > & | data, |
| vtkSmartPointer< vtkLODActor > & | actor, | ||
| bool | use_scalars = true |
||
| ) |
FIXME disabling backface culling due to known VTK bug: vtkTextActors are not shown when there is a vtkActor with backface culling on present in the scene Please see VTK bug tracker for more details: http://www.vtk.org/Bug/view.php?id=12588
Definition at line 158 of file vtkwidget.cpp.
References data, and VtkUtils::getDefaultScalarInterpolationForDataSet().
| vtkRenderer * VtkUtils::VtkWidget::defaultRenderer | ( | ) |
Definition at line 313 of file vtkwidget.cpp.
References GetRenderWindow(), and VtkUtils::vtkInitOnce().
Referenced by addActor(), addViewProp(), VtkUtils::Contour::renderSurface(), VtkUtils::Surface::renderSurface(), and VtkWidget().
| bool VtkUtils::VtkWidget::defaultRendererTaken | ( | ) | const |
Definition at line 321 of file vtkwidget.cpp.
Referenced by addActor(), and addViewProp().
|
inline |
Definition at line 68 of file vtkwidget.h.
Referenced by showOrientationMarker().
|
inline |
Definition at line 67 of file vtkwidget.h.
Referenced by addActor(), addViewProp(), defaultRenderer(), and setBackgroundColor().
| bool VtkUtils::VtkWidget::multiViewports | ( | ) | const |
Definition at line 144 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::setActorsVisible | ( | bool | visible | ) |
Definition at line 278 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::setActorVisible | ( | vtkProp * | actor, |
| bool | visible | ||
| ) |
Definition at line 282 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::setBackgroundColor | ( | ) |
Definition at line 288 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::setBackgroundColor | ( | const QColor & | clr | ) |
Definition at line 293 of file vtkwidget.cpp.
References GetRenderWindow().
|
protected |
Definition at line 344 of file vtkwidget.cpp.
Referenced by VtkUtils::Contour::renderSurface().
| void VtkUtils::VtkWidget::setMultiViewports | ( | bool | multi = true | ) |
Definition at line 138 of file vtkwidget.cpp.
| void VtkUtils::VtkWidget::showOrientationMarker | ( | bool | show = true | ) |
Definition at line 326 of file vtkwidget.cpp.
References GetInteractor(), and VTK_CREATE.
|
protected |
Definition at line 351 of file vtkwidget.cpp.
|
protected |
Definition at line 349 of file vtkwidget.cpp.
|
protected |
Definition at line 355 of file vtkwidget.cpp.
|
protected |
Definition at line 353 of file vtkwidget.cpp.
|
protected |
Definition at line 359 of file vtkwidget.cpp.
Referenced by VtkUtils::Contour::setNumberOfContours().
|
protected |
Definition at line 357 of file vtkwidget.cpp.
Referenced by VtkUtils::Contour::setNumberOfContours().