Springhead
An open source physics engine for virtual reality, haptics and motion generation.
クラス FWEditorOverlay

DescViewOverlay shows information on graphics window using text overlay.

#include <SprFWEditor.h>

FWEditorOverlayに対する継承グラフ

Public メソッド

virtual bool Key (int key)
 keyboard event handler. returns true if handled
 
virtual void Draw (GRRenderIf *render)
 draw
 
- Public メソッド inherited from FWEditor
void SetObject (NamedObjectIf *obj, bool clearHist=true)
 select object
 
void Update ()
 reload descriptor of selected object
 

Protected メソッド

virtual void DrawField (GRRenderIf *render, size_t index)
 draw field
 
- Protected メソッド inherited from FWEditor
size_t NElements (std::string typeName)
 returns number of elements for primitive typedesc
 
void FlattenTypeDesc (const void *field)
 convert composite typedesc into array of fields
 
void Increment (bool mode)
 increment/decrement selected field[element]
 
void Decrement (bool mode)
 
double Increase (double val, bool mode)
 
double Decrease (double val, bool mode)
 

Protected 変数

std::ostringstream oss
 
Vec2f margin
 left and top margin
 
float columnWidth
 column with in pixels
 
float lineSpace
 line spacing in pixels
 
Vec3f drawPos
 current position to draw text
 
- Protected 変数 inherited from FWEditor
NamedObjectIfcurObj
 reference to object
 
const UTTypeDesc * typeDesc
 typedesc of current object
 
std::vector< char > descData
 buffer to store descriptor
 
std::vector< FieldInfofieldInfos
 array of field infos
 
std::vector< NamedObjectIf * > childObjects
 array of child object names
 
std::vector< NamedObjectIf * > hist
 history of displayed objects
 
int curChild
 currently selected child object
 
int curField
 currently selected field
 
int curElement
 currently selected element (used for vectors)
 

Additional Inherited Members

- Protected 型 inherited from FWEditor
enum  PrimitiveType {
  TYPE_UNKNOWN, TYPE_BOOL, TYPE_UINT8, TYPE_INT8,
  TYPE_UINT16, TYPE_INT16, TYPE_UINT32, TYPE_INT32,
  TYPE_FLOAT, TYPE_DOUBLE
}
 

このクラスの説明は次のファイルから生成されました: