class Stk_Control

The interface for a control.

Inheritance:


Public Methods

[more]virtual int IsPresent() const
Is this control Present and Working ?
[more]virtual void ReadState()
Read State of a control
[more]virtual void Print() const
Print Information about the control
[more]virtual float getPositionAxeX() const
Positon of axe X (range -1 .. 1)
[more]virtual float getPositionAxeY() const
Positon of axe Y (range -1 .. 1)
[more]virtual float getPositionAxeZ() const
Positon of axe Z (range -1 .. 1)
[more]virtual float getButton1() const
Position of button 1
[more]virtual float getButton2() const
Position of button 2
[more]virtual float getButton3() const
Position of button 3
[more]virtual float getButton4() const
Position of button 4


Documentation

The interface for a control.
The axe are represented by value between -1 to 1. The button are pressure value (0:not used 1:used). It could be used as a null control.
ovirtual int IsPresent() const
Is this control Present and Working ?

ovirtual void ReadState()
Read State of a control

ovirtual void Print() const
Print Information about the control

ovirtual float getPositionAxeX() const
Positon of axe X (range -1 .. 1)

ovirtual float getPositionAxeY() const
Positon of axe Y (range -1 .. 1)

ovirtual float getPositionAxeZ() const
Positon of axe Z (range -1 .. 1)

ovirtual float getButton1() const
Position of button 1

ovirtual float getButton2() const
Position of button 2

ovirtual float getButton3() const
Position of button 3

ovirtual float getButton4() const
Position of button 4


Direct child classes:
Stk_Keyboard
Stk_Joy

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.