GenericFrameSpec Struct Reference

Gives specification of a GenericFrame. More...

#include <Raster/GenericFrame.H>

Collaboration diagram for GenericFrameSpec:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool operator== (const GenericFrameSpec &that) const
bool operator!= (const GenericFrameSpec &that) const
std::string getDescription () const
 Return a human-readable description of this frame spec.
std::string nativeTypeName () const
 Get the frame's native image typename.
VideoFormat getActualVideoFormat () const
 Get the VideoFormat that would result from applying asVideo() to a corresponding GenericFrame.

Public Attributes

GenericFrame::NativeType nativeType
VideoFormat videoFormat
bool videoByteSwap
Dims dims
int floatFlags
float frameRate

Detailed Description

Gives specification of a GenericFrame.

Definition at line 227 of file GenericFrame.H.


Member Function Documentation

VideoFormat GenericFrameSpec::getActualVideoFormat (  )  const

Get the VideoFormat that would result from applying asVideo() to a corresponding GenericFrame.

Definition at line 705 of file GenericFrame.C.

References ASSERT, GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, and GenericFrame::RGBD.

Referenced by MrawvEncoder::MrawvEncoder().

std::string GenericFrameSpec::getDescription (  )  const

Return a human-readable description of this frame spec.

Definition at line 676 of file GenericFrame.C.

References Dims::h(), nativeTypeName(), sformat(), and Dims::w().

Referenced by ColorizeOfilt::filterFrame(), and LuminanceOfilt::filterFrame().

std::string GenericFrameSpec::nativeTypeName (  )  const

The documentation for this struct was generated from the following files:
Generated on Sun May 8 08:43:21 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3