| 
    VTK
   
    
   
   | 
  
  
  
 
#include <vtkRenderWidget.h>


Public Types | |
| typedef vtkObject | Superclass | 
Public Member Functions | |
| virtual int | IsA (const char *type) | 
| vtkRenderWidget * | NewInstance () const | 
| void | PrintSelf (ostream &os, vtkIndent indent) | 
| void | SetPosition (const vtkVector2i &pos) | 
| Set the widget position in screen coordinates.   | |
| vtkVector2i | GetPosition () const | 
| Get the widget position in screen coordinates.   | |
| void | SetSize (const vtkVector2i &size) | 
| Set the widget size in screen coordinates.   | |
| vtkVector2i | GetSize () const | 
| Get the widget size in screen coordinates.   | |
| void | SetName (const std::string &name) | 
| Set the name of the widget.   | |
| std::string | GetName () const | 
| Get the name of the widget.   | |
| virtual void | Render () | 
| Render everything in the current widget.   | |
| virtual void | MakeCurrent () | 
| Make the widget's context current, this will defer to the OS specific methods, and calls should be kept to a minimum as they are quite expensive.   | |
| void | Initialize () | 
| void | Start () | 
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) | 
| static vtkRenderWidget * | SafeDownCast (vtkObjectBase *o) | 
| static vtkRenderWidget * | New () | 
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const | 
| vtkRenderWidget () | |
| ~vtkRenderWidget () | |
Protected Attributes | |
| vtkVector2i | Position | 
| vtkVector2i | Size | 
| std::string | Name | 
| vtkNew < vtkAbstractInteractionDevice >  | InteractionDevice | 
| vtkNew< vtkAbstractRenderDevice > | RenderDevice | 
Definition at line 26 of file vtkRenderWidget.h.
| typedef vtkObject vtkRenderWidget::Superclass | 
Reimplemented from vtkObject.
Definition at line 29 of file vtkRenderWidget.h.
| vtkRenderWidget::vtkRenderWidget | ( | ) |  [protected] | 
        
| vtkRenderWidget::~vtkRenderWidget | ( | ) |  [protected] | 
        
| static int vtkRenderWidget::IsTypeOf | ( | const char * | name | ) |  [static] | 
        
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
| virtual int vtkRenderWidget::IsA | ( | const char * | name | ) |  [virtual] | 
        
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
| static vtkRenderWidget* vtkRenderWidget::SafeDownCast | ( | vtkObjectBase * | o | ) |  [static] | 
        
Reimplemented from vtkObject.
| virtual vtkObjectBase* vtkRenderWidget::NewInstanceInternal | ( | ) |  const [protected, virtual] | 
        
Reimplemented from vtkObject.
| vtkRenderWidget* vtkRenderWidget::NewInstance | ( | ) | const | 
Reimplemented from vtkObject.
| void vtkRenderWidget::PrintSelf | ( | ostream & | os, | 
| vtkIndent | indent | ||
| ) |  [virtual] | 
        
| static vtkRenderWidget* vtkRenderWidget::New | ( | ) |  [static] | 
        
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
| void vtkRenderWidget::SetPosition | ( | const vtkVector2i & | pos | ) | 
Set the widget position in screen coordinates.
| pos | The position of the widget in screen coordinates. | 
| vtkVector2i vtkRenderWidget::GetPosition | ( | ) |  const [inline] | 
        
Get the widget position in screen coordinates.
Definition at line 43 of file vtkRenderWidget.h.
| void vtkRenderWidget::SetSize | ( | const vtkVector2i & | size | ) | 
Set the widget size in screen coordinates.
| size | The width and height of the widget in screen coordinates | 
| vtkVector2i vtkRenderWidget::GetSize | ( | ) |  const [inline] | 
        
Get the widget size in screen coordinates.
Definition at line 56 of file vtkRenderWidget.h.
| void vtkRenderWidget::SetName | ( | const std::string & | name | ) | 
Set the name of the widget.
| name | The name to set to the window. | 
| std::string vtkRenderWidget::GetName | ( | ) |  const [inline] | 
        
Get the name of the widget.
Definition at line 68 of file vtkRenderWidget.h.
| virtual void vtkRenderWidget::Render | ( | ) |  [virtual] | 
        
Render everything in the current widget.
| virtual void vtkRenderWidget::MakeCurrent | ( | ) |  [virtual] | 
        
Make the widget's context current, this will defer to the OS specific methods, and calls should be kept to a minimum as they are quite expensive.
| void vtkRenderWidget::Initialize | ( | ) | 
| void vtkRenderWidget::Start | ( | ) | 
vtkVector2i vtkRenderWidget::Position [protected] | 
        
Definition at line 89 of file vtkRenderWidget.h.
vtkVector2i vtkRenderWidget::Size [protected] | 
        
Definition at line 90 of file vtkRenderWidget.h.
std::string vtkRenderWidget::Name [protected] | 
        
Definition at line 91 of file vtkRenderWidget.h.
Definition at line 93 of file vtkRenderWidget.h.
vtkNew<vtkAbstractRenderDevice> vtkRenderWidget::RenderDevice [protected] | 
        
Definition at line 94 of file vtkRenderWidget.h.
 1.8.0