Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
firevision::ColormapFileYuvBlock Class Reference

YUV block for colormap file. More...

#include <>>

Inheritance diagram for firevision::ColormapFileYuvBlock:

List of all members.

Public Member Functions

 ColormapFileYuvBlock (YuvColormap *cm, unsigned int level=0)
 Constructor.
 ColormapFileYuvBlock (FireVisionDataFileBlock *block)
 Copy Constructor.
unsigned int range_from () const
 Range from value.
unsigned int range_to () const
 Range to value.
- Public Member Functions inherited from firevision::ColormapFileBlock
 ColormapFileBlock (unsigned int type, size_t data_size, void *spec_header, size_t spec_header_size)
 Constructor.
 ColormapFileBlock (unsigned int type, size_t data_size, size_t spec_header_size)
 Constructor.
 ColormapFileBlock (unsigned int type, size_t data_size)
 Constructor.
virtual ~ColormapFileBlock ()
 Virtual empty destructor.
- Public Member Functions inherited from firevision::FireVisionDataFileBlock
 FireVisionDataFileBlock (unsigned int type, size_t data_size, void *spec_header, size_t spec_header_size)
 Constructor.
 FireVisionDataFileBlock (unsigned int type, size_t data_size, size_t spec_header_size)
 Constructor.
 FireVisionDataFileBlock (unsigned int type, size_t data_size)
 Constructor.
 FireVisionDataFileBlock (FireVisionDataFileBlock *block)
 Shallow copy constructor.
virtual ~FireVisionDataFileBlock ()
 Destructor.
unsigned int type () const
 Get block type.
void * block_memptr () const
 Pointer to the whole block.
size_t block_size () const
 Size of blocks.
void * data_ptr () const
 Get data pointer.
size_t data_size () const
 Size of data chunk.

Additional Inherited Members

- Protected Member Functions inherited from firevision::ColormapFileBlock
 ColormapFileBlock (FireVisionDataFileBlock *block)
 Shallow copy constructor.
- Protected Member Functions inherited from firevision::FireVisionDataFileBlock
void set_spec_header (void *spec_header, size_t spec_header_size)
 Set content-specific header.

Detailed Description

YUV block for colormap file.

Author:
Tim Niemueller

Definition at line 45 of file cmfile_yuvblock.h.


Constructor & Destructor Documentation

firevision::ColormapFileYuvBlock::ColormapFileYuvBlock ( FireVisionDataFileBlock block)

Copy Constructor.

It is assumed that the block actually is a rectification LUT info block. Check that before calling this method.

Parameters:
blockblock to copy

Definition at line 68 of file cmfile_yuvblock.cpp.

References firevision::FireVisionDataFileBlock::_spec_header.


Member Function Documentation

unsigned int firevision::ColormapFileYuvBlock::range_from ( ) const

Range from value.

Returns:
range from value

Definition at line 79 of file cmfile_yuvblock.cpp.

References firevision::cmfile_yuvblock_header_t::range_from.

unsigned int firevision::ColormapFileYuvBlock::range_to ( ) const

Range to value.

Returns:
range to value

Definition at line 89 of file cmfile_yuvblock.cpp.

References firevision::cmfile_yuvblock_header_t::range_to.


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