OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
cv::viz::WidgetAccessor Struct Reference

This class is for users who want to develop their own widgets using VTK library API. : More...

#include "widget_accessor.hpp"

Static Public Member Functions

static vtkSmartPointer< vtkProp > getProp (const Widget &widget)
 Returns vtkProp of a given widget. More...
 
static void setProp (Widget &widget, vtkSmartPointer< vtkProp > prop)
 Sets vtkProp of a given widget. More...
 

Detailed Description

This class is for users who want to develop their own widgets using VTK library API. :

Member Function Documentation

static vtkSmartPointer<vtkProp> cv::viz::WidgetAccessor::getProp ( const Widget widget)
static

Returns vtkProp of a given widget.

Parameters
widgetWidget whose vtkProp is to be returned.
Note
vtkProp has to be down cast appropriately to be modified.
vtkActor * actor = vtkActor::SafeDownCast(viz::WidgetAccessor::getProp(widget));
static void cv::viz::WidgetAccessor::setProp ( Widget widget,
vtkSmartPointer< vtkProp >  prop 
)
static

Sets vtkProp of a given widget.

Parameters
widgetWidget whose vtkProp is to be set.
propA vtkProp.

The documentation for this struct was generated from the following file: