Fawkes API  Fawkes Development Version
firevision::ColormapFileYuvBlock Class Reference

YUV block for colormap file. More...

#include <>>

Inheritance diagram for firevision::ColormapFileYuvBlock:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from firevision::ColormapFileBlock
 ColormapFileBlock (FireVisionDataFileBlock *block)
 Shallow copy constructor. More...
 
- Protected Member Functions inherited from firevision::FireVisionDataFileBlock
void set_spec_header (void *spec_header, size_t spec_header_size)
 Set content-specific header. More...
 
- Protected Attributes inherited from firevision::FireVisionDataFileBlock
void * _data
 Pointer to the internal data segment. More...
 
size_t _data_size
 Size of _data in bytes. More...
 
void * _spec_header
 Pointer to the content specific block header. More...
 

Detailed Description

YUV block for colormap file.

Author
Tim Niemueller

Definition at line 45 of file cmfile_yuvblock.h.

Constructor & Destructor Documentation

◆ ColormapFileYuvBlock() [1/2]

◆ ColormapFileYuvBlock() [2/2]

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

◆ range_from()

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.

◆ range_to()

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: