golib  0.5
goGUI::GLDrawableObjectInput Class Reference

Input object for goGL::DrawableObject objects. More...

#include <gldrawableobjectinput.h>

Public Member Functions

void setDrawableObject (goAutoPtr< goGL::DrawableObject > o)
 Set the drawable. More...
 
goAutoPtr< goGL::DrawableObjectgetDrawableObject ()
 Get the drawable. More...
 
virtual void updateInput ()
 Put properties from the object set with setDrawableObject() into the inputs.
 
goCaller0< int > & callerDrawableObjectInputChanged ()
 Emitted whenever an input changes. More...
 
- Public Member Functions inherited from goGUI::GLObjectInput
void setObject (goAutoPtr< goGL::Object > o)
 
goAutoPtr< goGL::ObjectgetObject ()
 
goCaller0< int > & callerObjectInputChanged ()
 

Protected Member Functions

void setDrawable (const goGL::DrawableObject &o)
 Put properties from object o into the inputs. More...
 
void getDrawable (goGL::DrawableObject &o)
 Read out inputs and put them into o. More...
 
int inputChangedSlotDrawableObject ()
 Connected to signalObjectInputChanged() and to the material input's signalChanged(). More...
 
void inputChangedShadeModel ()
 
- Protected Member Functions inherited from goGUI::GLObjectInput
void set (const goGL::Object &o)
 
void get (goGL::Object &o)
 
int inputChangedSlotObject ()
 
Gtk::Box * getBox ()
 

Detailed Description

Input object for goGL::DrawableObject objects.

Member Function Documentation

◆ callerDrawableObjectInputChanged()

goCaller0< int > & goGUI::GLDrawableObjectInput::callerDrawableObjectInputChanged ( )

Emitted whenever an input changes.

Returns
Signal.

◆ getDrawable()

void goGUI::GLDrawableObjectInput::getDrawable ( goGL::DrawableObject o)
protected

Read out inputs and put them into o.

Parameters
oObject to read into.

◆ getDrawableObject()

goAutoPtr< goGL::DrawableObject > goGUI::GLDrawableObjectInput::getDrawableObject ( )

Get the drawable.

Returns
Autopointer to the drawable object. May be a null pointer.

◆ inputChangedSlotDrawableObject()

int goGUI::GLDrawableObjectInput::inputChangedSlotDrawableObject ( )
protected

Connected to signalObjectInputChanged() and to the material input's signalChanged().

Updates the object and emits signalDrawableObjectInputChanged().

◆ setDrawable()

void goGUI::GLDrawableObjectInput::setDrawable ( const goGL::DrawableObject o)
protected

Put properties from object o into the inputs.

Parameters
oObject to read from.

◆ setDrawableObject()

void goGUI::GLDrawableObjectInput::setDrawableObject ( goAutoPtr< goGL::DrawableObject o)

Set the drawable.

Changes in the input will be written into the object o.

Parameters
oObject to which the input is bound.

The documentation for this class was generated from the following files: