$search

Tracking::Resources Class Reference

#include <Resources.h>

Inheritance diagram for Tracking::Resources:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int AddShader (const char *shadername, const char *vertex_file=NULL, const char *fragment_file=NULL, const char *header=NULL)
IplImage * GetImage ()
ImageProcessorGetImageProcessor ()
IplImage * GetNewImage ()
ShaderGetShader (int id)
IplImage * InitCapture (float width=640.0, float height=480.0, int camID=CV_CAP_ANY)
IplImage * InitCapture (const char *file)
ImageProcessorInitImageProcessor (int width, int height)
void ReleaseCapture ()
void ReleaseImageProcessor ()
void ReleaseShader (int id)
void ReleaseShader ()
int SearchShaderName (const char *filename)
void SetShaderPath (const char *path)
void ShowLog (bool b)
 ~Resources ()

Static Public Member Functions

static ResourcesGetInstance ()

Private Member Functions

 Resources ()
int SearchName (NameList *list, const char *filename)

Private Attributes

CvCapture * m_capture
IplImage * m_image
ImageProcessorm_ip
ShaderList m_shaderList
NameList m_shaderNameList
char m_shaderPath [FN_LEN]
bool m_showlog

Friends

class Singleton< Resources >

Detailed Description

Definition at line 25 of file Resources.h.


Constructor & Destructor Documentation

Resources::Resources (  )  [private]

Definition at line 25 of file Resources.cpp.

Resources::~Resources (  ) 

Definition at line 32 of file Resources.cpp.


Member Function Documentation

int Resources::AddShader ( const char *  shadername,
const char *  vertex_file = NULL,
const char *  fragment_file = NULL,
const char *  header = NULL 
)

Definition at line 163 of file Resources.cpp.

IplImage * Resources::GetImage (  ) 

Definition at line 143 of file Resources.cpp.

ImageProcessor * Resources::GetImageProcessor (  ) 

Definition at line 150 of file Resources.cpp.

static Resources* Tracking::Resources::GetInstance (  )  [inline, static]

Reimplemented from Tracking::Singleton< Resources >.

Definition at line 50 of file Resources.h.

IplImage * Resources::GetNewImage (  ) 

Definition at line 119 of file Resources.cpp.

Shader * Resources::GetShader ( int  id  ) 

Definition at line 158 of file Resources.cpp.

IplImage * Resources::InitCapture ( float  width = 640.0,
float  height = 480.0,
int  camID = CV_CAP_ANY 
)

Definition at line 63 of file Resources.cpp.

IplImage * Resources::InitCapture ( const char *  file  ) 

Definition at line 44 of file Resources.cpp.

ImageProcessor * Resources::InitImageProcessor ( int  width,
int  height 
)

Definition at line 85 of file Resources.cpp.

void Resources::ReleaseCapture (  ) 

Definition at line 105 of file Resources.cpp.

void Resources::ReleaseImageProcessor (  ) 

Definition at line 111 of file Resources.cpp.

void Resources::ReleaseShader ( int  id  ) 

Definition at line 228 of file Resources.cpp.

void Resources::ReleaseShader (  ) 

Definition at line 217 of file Resources.cpp.

int Resources::SearchName ( NameList list,
const char *  filename 
) [private]

Definition at line 8 of file Resources.cpp.

int Resources::SearchShaderName ( const char *  filename  ) 

Definition at line 236 of file Resources.cpp.

void Tracking::Resources::SetShaderPath ( const char *  path  )  [inline]

Definition at line 64 of file Resources.h.

void Tracking::Resources::ShowLog ( bool  b  )  [inline]

Definition at line 65 of file Resources.h.


Friends And Related Function Documentation

friend class Singleton< Resources > [friend]

Definition at line 27 of file Resources.h.


Member Data Documentation

CvCapture* Tracking::Resources::m_capture [private]

Definition at line 32 of file Resources.h.

IplImage* Tracking::Resources::m_image [private]

Definition at line 33 of file Resources.h.

Definition at line 34 of file Resources.h.

Definition at line 37 of file Resources.h.

Definition at line 40 of file Resources.h.

char Tracking::Resources::m_shaderPath[FN_LEN] [private]

Definition at line 42 of file Resources.h.

Definition at line 44 of file Resources.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:59 2013