| Linderdaum Engine: clFlowUI Class Reference | ![]() |
Composite object containing scene, flowselector, flowrenderer and pos/angle camera calculation code. More...
#include <FlowUI.h>
Public Member Functions | |
| clFlowUI () | |
| virtual | ~clFlowUI () |
| virtual void | AfterConstruction () |
| float | GetVal () const |
| void | SetVal (float ff) |
| void | Render (const LVector4 &OverlayColor) |
| bool | IsSelected (int i) const |
| Get selection flag for i-th image. | |
| void | SetSelected (int i, bool f) |
| Set selection flag for i-th image. | |
| size_t | GetNumImages () const |
| Get the number of assigned images. | |
| void | UpdateImages (const std::vector< clImage * > &Imgs) |
| Load new images. TODO: refactor. | |
| int | GetCurrentImage () const |
| Which image is currently selected. | |
| void | SetCurrentImage (int i) |
| Move to the specified image with no animation. | |
Private Attributes | |
| clFlingHandler * | FFlinger |
| Fling handler. | |
| clFlowSelector * | FFlow |
| Flow selector. | |
| clFlowSelectRenderer * | FRenderer |
| Flow renderer. | |
| mtx4 | FView |
| Static camera matrices. | |
| mtx4 | FProjection |
Composite object containing scene, flowselector, flowrenderer and pos/angle camera calculation code.
TODO: add event handling
| clFlowUI::clFlowUI | ( | ) | [inline] |
| virtual clFlowUI::~clFlowUI | ( | ) | [inline, virtual] |
| virtual void clFlowUI::AfterConstruction | ( | ) | [inline, virtual] |
Reimplemented from iObject.
| int clFlowUI::GetCurrentImage | ( | ) | const [inline] |
Which image is currently selected.
| size_t clFlowUI::GetNumImages | ( | ) | const [inline] |
Get the number of assigned images.
| float clFlowUI::GetVal | ( | ) | const [inline] |
| bool clFlowUI::IsSelected | ( | int | i | ) | const [inline] |
Get selection flag for i-th image.
| void clFlowUI::Render | ( | const LVector4 & | OverlayColor | ) | [inline] |
| void clFlowUI::SetCurrentImage | ( | int | i | ) | [inline] |
Move to the specified image with no animation.
| void clFlowUI::SetSelected | ( | int | i, |
| bool | f | ||
| ) | [inline] |
Set selection flag for i-th image.
| void clFlowUI::SetVal | ( | float | ff | ) | [inline] |
| void clFlowUI::UpdateImages | ( | const std::vector< clImage * > & | Imgs | ) | [inline] |
Load new images. TODO: refactor.
Pass to renderer
Set flinger limits
clFlingHandler* clFlowUI::FFlinger [private] |
Fling handler.
clFlowSelector* clFlowUI::FFlow [private] |
Flow selector.
mtx4 clFlowUI::FProjection [private] |
clFlowSelectRenderer* clFlowUI::FRenderer [private] |
Flow renderer.
mtx4 clFlowUI::FView [private] |
Static camera matrices.