Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CTEngineWLD2GEOMV Class Reference

Engine for converting. More...

#include <tvu_wld2geom.h>


Public Types

enum  { DT_CONTEXT = 0x0001, DT_SCENE = 0x0002, DT_ALL = 0x0003, DT_CONTEXT_VSIS = 0x0101 }
 Display type. More...

enum  { IL_CONTEXT = 0, IL_SCENE }
 Index of lists. More...


Public Methods

 CTEngineWLD2GEOMV (TLPCSTR lpCamFile, TINT wWind=1024, TINT hWind=768, TINT bgR=0, TINT bgG=0, TINT bgB=0)
 Constructor/Destructor Parameters for initiating the windows of GEOMVIEW. More...

 ~CTEngineWLD2GEOMV ()
 Shutdown the engine and close the windows of GEOMVIEW. More...

TBOOL ResetEngine (TINT eType=DT_ALL)
 Reset the engine, it dose not close the windows. More...

TBOOL ConvertContext (struct scene_model *pTp_sm_node)
 Engine to reset, display type Convert all of objects of the context. More...

TBOOL FC_ConvertContext (struct scene_model *pTp_sm_node)
 FC: Convert all of objects of the context in the case of single or multiple cameras (multi-cntx used). More...

TBOOL ConvertBlobs (void *lpListBlobs, struct scene_model *pTp_sm_node)
 End: FC Convert only the objects of the scene. it means that the moving objects: The BLOBs. More...

TBOOL ConvertIndividuals (void *lpListIndividuals, struct scene_model *pTp_sm_node)
 The INDIVIDUALs. More...

TBOOL ConvertMobiles (AllMobiles &lpListMobiles, struct scene_model *pTp_sm_node)
 The MOBILEs. More...

TBOOL MM_ConvertMobiles (AllMobiles &lpListMobiles, int r, int g, int b)
 MM. More...

TBOOL MM_ConvertClassifiedMobiles (AllMobiles &lpListMobiles)
TBOOL ConvertGroup (void *lpGroup, TINT idParentGroup)
 A group. More...

TBOOL ConvertGroups (void *lpGroups)
 The GROUPs. More...

TBOOL FC_ConvertGroup (void *lpGroupTrack, CTRGB ColorGroup)
 FC: A group with colour as input parameter. More...

TBOOL FC_ConvertGroups (void *lpGroups)
 FC: The GROUPs. More...

TBOOL FC_ConvertGroupsDescriptor (void *lpGroups)
 FC: The GROUP's descriptor. FC: Display cube tag for describing the state of the group's descriptor. More...

TBOOL FC_ConvertIndividualsDescriptor (void *lpListIndividuals)
 FC: The INDIVIDUAL's descriptor. FC: Display cube tag for describing the state of the individual's descriptor. More...

TBOOL Display (struct scene_model *pTp_sm_node, TINT dType=DT_ALL)
 End: FC Display the objects. The objects that will be displayed depend to the the display type (defined above). More...

TBOOL Save (TLPCSTR lpFileName, TINT dType=DT_ALL)
 Save the objects. The objects that will be saved depend to the the display type (defined above). More...

void SaveImageTo (TLPCSTR FileName)
 Save the current image This function can be called after Display. More...

void SetImageSavingFilename (TLPCSTR FileName)
 Save the image of the next display to a file This function must be called before Display. More...

TBOOL LoadCamSetting (TLPCSTR lpCamFile)
 For processing the private data For loading the camera's parameters. More...

TLPSTR CamSettingBlock ()
 Get the camera's setting block. More...

TBOOL SaveCamSetting (FILE *pFile)
 Save the camera's setting block to a opened file. More...

CTList GetListObject (TINT idList)
 Private data. More...

CTList SetListObject (CTList pList, TINT idList)

Static Public Attributes

CTEngineWLD2GEOMV* m_CurrentEngine

Protected Attributes

CTList m_ListObjects [2]
 0: List of objects of the context. This list is determinate after loading the context. 1: List of objects of the scene. This list is changed in running time. More...

TLPSTR m_lpCamBlock
 Camera's parameters file. More...

TINT m_SizeBlock
CTList m_CameraList
 List of objects of camera file. More...

TLPCSTR m_lpFileName
 File name for saving image. More...


Detailed Description

Engine for converting.


Member Enumeration Documentation

anonymous enum
 

Display type.

Enumeration values:
DT_SCENE   Display only the objects of the context.
DT_ALL   Display only the objects of the scene.
DT_CONTEXT_VSIS   Display all of objects of the context and the scene.
00045                 {
00046                         DT_CONTEXT      = 0x0001, 
00047                         DT_SCENE        = 0x0002, 
00048                         DT_ALL          = 0x0003, 
00049                         DT_CONTEXT_VSIS = 0x0101  
00050                 };

anonymous enum
 

Index of lists.

00052 { IL_CONTEXT = 0, IL_SCENE      };


Constructor & Destructor Documentation

CTEngineWLD2GEOMV::CTEngineWLD2GEOMV ( TLPCSTR lpCamFile,
TINT wWind = 1024,
TINT hWind = 768,
TINT bgR = 0,
TINT bgG = 0,
TINT bgB = 0 )
 

Constructor/Destructor Parameters for initiating the windows of GEOMVIEW.

CTEngineWLD2GEOMV::~CTEngineWLD2GEOMV ( )
 

Shutdown the engine and close the windows of GEOMVIEW.


Member Function Documentation

TLPSTR CTEngineWLD2GEOMV::CamSettingBlock ( ) [inline]
 

Get the camera's setting block.

00108 { return m_lpCamBlock; };

TBOOL CTEngineWLD2GEOMV::ConvertBlobs ( void * lpListBlobs,
struct scene_model * pTp_sm_node )
 

End: FC Convert only the objects of the scene. it means that the moving objects: The BLOBs.

TBOOL CTEngineWLD2GEOMV::ConvertContext ( struct scene_model * pTp_sm_node )
 

Engine to reset, display type Convert all of objects of the context.

TBOOL CTEngineWLD2GEOMV::ConvertGroup ( void * lpGroup,
TINT idParentGroup )
 

A group.

TBOOL CTEngineWLD2GEOMV::ConvertGroups ( void * lpGroups )
 

The GROUPs.

TBOOL CTEngineWLD2GEOMV::ConvertIndividuals ( void * lpListIndividuals,
struct scene_model * pTp_sm_node )
 

The INDIVIDUALs.

TBOOL CTEngineWLD2GEOMV::ConvertMobiles ( AllMobiles & lpListMobiles,
struct scene_model * pTp_sm_node )
 

The MOBILEs.

TBOOL CTEngineWLD2GEOMV::Display ( struct scene_model * pTp_sm_node,
TINT dType = DT_ALL )
 

End: FC Display the objects. The objects that will be displayed depend to the the display type (defined above).

TBOOL CTEngineWLD2GEOMV::FC_ConvertContext ( struct scene_model * pTp_sm_node )
 

FC: Convert all of objects of the context in the case of single or multiple cameras (multi-cntx used).

TBOOL CTEngineWLD2GEOMV::FC_ConvertGroup ( void * lpGroupTrack,
CTRGB ColorGroup )
 

FC: A group with colour as input parameter.

TBOOL CTEngineWLD2GEOMV::FC_ConvertGroups ( void * lpGroups )
 

FC: The GROUPs.

TBOOL CTEngineWLD2GEOMV::FC_ConvertGroupsDescriptor ( void * lpGroups )
 

FC: The GROUP's descriptor. FC: Display cube tag for describing the state of the group's descriptor.

TBOOL CTEngineWLD2GEOMV::FC_ConvertIndividualsDescriptor ( void * lpListIndividuals )
 

FC: The INDIVIDUAL's descriptor. FC: Display cube tag for describing the state of the individual's descriptor.

CTList CTEngineWLD2GEOMV::GetListObject ( TINT idList ) [inline]
 

Private data.

00113 { return m_ListObjects[idList]; };

TBOOL CTEngineWLD2GEOMV::LoadCamSetting ( TLPCSTR lpCamFile )
 

For processing the private data For loading the camera's parameters.

TBOOL CTEngineWLD2GEOMV::MM_ConvertMobiles ( AllMobiles & lpListMobiles,
int r,
int g,
int b )
 

MM.

TBOOL CTEngineWLD2GEOMV::ResetEngine ( TINT eType = DT_ALL )
 

Reset the engine, it dose not close the windows.

TBOOL CTEngineWLD2GEOMV::Save ( TLPCSTR lpFileName,
TINT dType = DT_ALL )
 

Save the objects. The objects that will be saved depend to the the display type (defined above).

TBOOL CTEngineWLD2GEOMV::SaveCamSetting ( FILE * pFile )
 

Save the camera's setting block to a opened file.

void CTEngineWLD2GEOMV::SaveImageTo ( TLPCSTR FileName )
 

Save the current image This function can be called after Display.

void CTEngineWLD2GEOMV::SetImageSavingFilename ( TLPCSTR FileName ) [inline]
 

Save the image of the next display to a file This function must be called before Display.

00102                         { m_lpFileName = FileName; };


Field Documentation

CTList CTEngineWLD2GEOMV::m_CameraList [protected]
 

List of objects of camera file.

CTList CTEngineWLD2GEOMV::m_ListObjects [protected]
 

0: List of objects of the context. This list is determinate after loading the context. 1: List of objects of the scene. This list is changed in running time.

TLPSTR CTEngineWLD2GEOMV::m_lpCamBlock [protected]
 

Camera's parameters file.

TLPCSTR CTEngineWLD2GEOMV::m_lpFileName [protected]
 

File name for saving image.


The documentation for this class was generated from the following file:
Generated at Wed Aug 6 15:59:00 2003 for TVU's libraries for video surveillance: by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001