Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GenericFrameSpec Struct Reference

#include <Raster/GenericFrame.H>

Collaboration diagram for GenericFrameSpec:

Collaboration graph
[legend]
List of all members.

Detailed Description

Gives specification of a GenericFrame.

Definition at line 223 of file GenericFrame.H.

Public Member Functions

 GenericFrameSpec ()
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


Member Function Documentation

VideoFormat GenericFrameSpec::getActualVideoFormat  )  const
 

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

Definition at line 679 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 videoFormat.

Referenced by MrawvEncoder::MrawvEncoder().

std::string GenericFrameSpec::getDescription  )  const
 

Return a human-readable description of this frame spec.

Definition at line 651 of file GenericFrame.C.

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

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

std::string GenericFrameSpec::nativeTypeName  )  const
 

Get the frame's native image typename.

Definition at line 659 of file GenericFrame.C.

References ASSERT, convertToString(), GenericFrame::GRAY_F32, GenericFrame::GRAY_U16, GenericFrame::GRAY_U8, GenericFrame::NONE, GenericFrame::RGB_F32, GenericFrame::RGB_U16, GenericFrame::RGB_U8, sformat(), and videoByteSwap.

Referenced by getDescription(), and GenericFrame::nativeTypeName().


The documentation for this struct was generated from the following files:
Generated on Sun Nov 22 13:45:47 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4