cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
svlOverlayImage Class Reference

#include <svlOverlayObjects.h>

Inheritance diagram for svlOverlayImage:
svlOverlay svlOverlayInput

Public Member Functions

 svlOverlayImage ()
 
 svlOverlayImage (unsigned int videoch, bool visible, const std::string &inputname, unsigned int inputch, vctInt2 pos, unsigned char alpha)
 
virtual ~svlOverlayImage ()
 
void SetInputChannel (unsigned int inputch)
 
void SetPosition (vctInt2 pos)
 
void SetPosition (int x, int y)
 
void SetAlpha (unsigned char alpha)
 
void SetEnableQuadMapping (bool enable)
 
void SetQuadMapping (vctInt2 ul, vctInt2 ur, vctInt2 ll, vctInt2 lr)
 
void SetQuadMapping (int xul, int yul, int xur, int yur, int xll, int yll, int xlr, int ylr)
 
unsigned int GetInputChannel () const
 
vctInt2 GetPosition () const
 
unsigned char GetAlpha () const
 
bool GetEnableQuadMapping () const
 
- Public Member Functions inherited from svlOverlay
 svlOverlay ()
 
 svlOverlay (unsigned int videoch, bool visible)
 
virtual ~svlOverlay ()
 
void SetVideoChannel (unsigned int videoch)
 
void SetVisible (bool visible)
 
unsigned int GetVideoChannel () const
 
bool GetVisible () const
 
bool IsUsed () const
 
void SetTransform (const vct3x3 &transform, const double timestamp=-1.0)
 
double GetTransformTimestamp () const
 
void SetTransformID (int ID)
 
int GetTransformID () const
 
bool IsTransformed () const
 
void SetTransformSynchronized (bool transform_synchronized)
 
bool GetTransformSynchronized () const
 
- Public Member Functions inherited from svlOverlayInput
 svlOverlayInput ()
 
 svlOverlayInput (const std::string &inputname)
 
virtual ~svlOverlayInput ()
 
void SetInputName (const std::string &inputname)
 
const std::string & GetInputName () const
 
void SetInputSynchronized (bool input_synchronized)
 
bool GetInputSynchronized () const
 

Protected Member Functions

virtual bool IsInputTypeValid (svlStreamType inputtype)
 
virtual void DrawInternal (svlSampleImage *bgimage, svlSample *input)
 

Additional Inherited Members

- Protected Attributes inherited from svlOverlay
unsigned int VideoCh
 
bool Visible
 
vct3x3 Transform
 
double TransformTimestamp
 
int TransformID
 
bool Transformed
 
bool TransformSynchronized
 
- Protected Attributes inherited from svlOverlayInput
std::string InputName
 
bool InputSynchronized
 

Constructor & Destructor Documentation

svlOverlayImage::svlOverlayImage ( )
svlOverlayImage::svlOverlayImage ( unsigned int  videoch,
bool  visible,
const std::string &  inputname,
unsigned int  inputch,
vctInt2  pos,
unsigned char  alpha 
)
virtual svlOverlayImage::~svlOverlayImage ( )
virtual

Member Function Documentation

virtual void svlOverlayImage::DrawInternal ( svlSampleImage bgimage,
svlSample input 
)
protectedvirtual

Implements svlOverlay.

unsigned char svlOverlayImage::GetAlpha ( ) const
bool svlOverlayImage::GetEnableQuadMapping ( ) const
unsigned int svlOverlayImage::GetInputChannel ( ) const
vctInt2 svlOverlayImage::GetPosition ( ) const
virtual bool svlOverlayImage::IsInputTypeValid ( svlStreamType  inputtype)
protectedvirtual

Implements svlOverlayInput.

void svlOverlayImage::SetAlpha ( unsigned char  alpha)
void svlOverlayImage::SetEnableQuadMapping ( bool  enable)
void svlOverlayImage::SetInputChannel ( unsigned int  inputch)
void svlOverlayImage::SetPosition ( vctInt2  pos)
void svlOverlayImage::SetPosition ( int  x,
int  y 
)
void svlOverlayImage::SetQuadMapping ( vctInt2  ul,
vctInt2  ur,
vctInt2  ll,
vctInt2  lr 
)
void svlOverlayImage::SetQuadMapping ( int  xul,
int  yul,
int  xur,
int  yur,
int  xll,
int  yll,
int  xlr,
int  ylr 
)

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