Linderdaum Engine: clFlowSelectRenderer Class Reference
Updated: Sun Feb 5 2012 22:59:50
clFlowSelectRenderer Class Reference

Renderer for the image flow. More...

#include <FlowUI.h>

List of all members.

Public Member Functions

 clFlowSelectRenderer ()
virtual void AfterConstruction ()
virtual void SetTransforms (clFlowSelector *Control, float t_current, int CurImg)
virtual void SetImages (const std::vector< clImage * > &Imgs)
virtual size_t GetNumImages () const
virtual void RenderDirect (const mtx4 &Projection, const mtx4 &View, int CurImg, const LVector4 &OverlayColor)
virtual bool IsSelected (int i) const
virtual void SetSelected (int i, bool f)
float OneImageSize () const
 The size of one tile in the sequence. Used in calculations.

Public Attributes

float FImageDist
 Distance between images.
float FQuadSize
 Size of one tile.

Private Attributes

std::vector< vec3FCoords [4]
 Quad coordinates for each image.
std::vector< vec3FCoords_R [4]
 Reflected quad coordinates for each image.
clRenderStateFShader
 Normal shader.
clRenderStateFShader_R
 Reflection shader.
clRenderStateFShader_S
 Selected image shader.
clImageFDarkImage
 Reflection mask.
clImageFSelImage
 Selection mask.
std::vector< clImage * > FImages
 Loaded images.
std::vector< bool > FSelected
 Selection flags for each image.

Detailed Description

Renderer for the image flow.

Uses FlowSelector object to set the transforms for the sequence of images


Constructor & Destructor Documentation

clFlowSelectRenderer::clFlowSelectRenderer ( ) [inline]

Member Function Documentation

void clFlowSelectRenderer::AfterConstruction ( ) [virtual]

Reimplemented from iObject.

virtual size_t clFlowSelectRenderer::GetNumImages ( ) const [inline, virtual]
virtual bool clFlowSelectRenderer::IsSelected ( int  i) const [inline, virtual]
float clFlowSelectRenderer::OneImageSize ( ) const [inline]

The size of one tile in the sequence. Used in calculations.

void clFlowSelectRenderer::RenderDirect ( const mtx4 Projection,
const mtx4 View,
int  CurImg,
const LVector4 OverlayColor 
) [virtual]

Left -> Right -> Selected rendering order

void clFlowSelectRenderer::SetImages ( const std::vector< clImage * > &  Imgs) [virtual]
virtual void clFlowSelectRenderer::SetSelected ( int  i,
bool  f 
) [inline, virtual]
void clFlowSelectRenderer::SetTransforms ( clFlowSelector Control,
float  t_current,
int  CurImg 
) [virtual]

Member Data Documentation

std::vector<vec3> clFlowSelectRenderer::FCoords[4] [private]

Quad coordinates for each image.

std::vector<vec3> clFlowSelectRenderer::FCoords_R[4] [private]

Reflected quad coordinates for each image.

Reflection mask.

Distance between images.

std::vector<clImage*> clFlowSelectRenderer::FImages [private]

Loaded images.

std::vector<bool> clFlowSelectRenderer::FSelected [private]

Selection flags for each image.

Selection mask.

Normal shader.

Reflection shader.

Selected image shader.


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