Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - IO - Formats - DPOImagePNGBodyC<class PixelT>
 

  PUBLIC
DPOImagePNGBodyC::DPOImagePNGBodyC(StringC)
DPOImagePNGBodyC::DPOImagePNGBodyC(const OStreamC &)
DPOImagePNGBodyC::Put(const ImageC &)
DPOImagePNGBodyC::IsPutReady(void) const
DPOImagePNGBodyC::Write(const ImageC &)
DPOPortBodyC::Put(const DataT &)
DPOPortBodyC::PutArray(const SArray1dC &)
DPOPortBodyC::OutputType(void) const
DPOPortBodyC::Save(ostream &) const
DPOImageIOPNGBaseC::WriteHeader(const type_info &,const ImageRectangleC &)
DPOPortBaseBodyC::PutEOS(void)
DPOPortBaseBodyC::IsPutReady(void) const
DPOPortBaseBodyC::OutputType(void) const
DPOPortBaseBodyC::Save(ostream &) const
DPPortBodyC::IsAsync(void) const
DPPortBodyC::Save(ostream &) const
DPPortBodyC::ConnectedTo(void) const
DPPortBodyC::GetAttr(const StringC &,StringC &)
DPPortBodyC::SetAttr(const StringC &,const StringC &)
DPEntityBodyC::Save(ostream &) const
DPEntityBodyC::Save(BinOStreamC &) const
DPEntityBodyC::Copy(void) const
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DPOImagePNGBodyC<class PixelT>   
 
Save a image.
 
include "Ravl/Image/ImgIOPNGB.hh"
Created:29/10/98 
Source file:Ravl/Image/ExternalImageIO/ImgIOPNGB.hh
User Level:Develop
Library:RavlExtImgIO
In Scope:RavlImageN

Parent Classes: Methods:
DPOImagePNGBodyC(StringC fn)
Constructor from filename.

DPOImagePNGBodyC(const OStreamC & strm)
Constructor from filename.
Not supported at the moment...

bool Put(const ImageC<PixelT> & dat)
Put data.

bool IsPutReady() const
Is port ready for data ?

bool Write(const ImageC<PixelT> & img)
Write an image.

#include "Ravl/DP/Port.hh"
bool Put(const ImageC<PixelT> &)
Put data.
This function MUST be provided by client class.

IntT PutArray(const SArray1dC<ImageC<PixelT>> & data)
Put an array of data to stream.
returns number of elements processed. NB. This need NOT be overridden in client classes unless fast handling of arrays of data elements is required.

const type_info & OutputType() const
Input type.

bool Save(ostream & out) const
Save to ostream.

#include "Ravl/Image/ImgIOPNGB.hh"
bool WriteHeader(const type_info & ti,const ImageRectangleC & nimgRect)
Write header information.

#include "Ravl/DP/Port.hh"
void PutEOS()
Put End Of Stream marker.

bool IsPutReady() const
Is port ready for data ?

const type_info & OutputType() const
Output type.

bool Save(ostream & out) const
Save to ostream.

bool IsAsync() const
Does port work asynchronously ?

bool Save(ostream & out) const
Save to ostream.

DPPortC ConnectedTo() const
Is this port connected to another ?
If not returns invalid handle.

bool GetAttr(const StringC & attrName,StringC & attrValue)
Get a stream attribute.
Returns false if the attribute name is unknown. This is for handling stream attributes such as frame rate, and compression ratios.

bool SetAttr(const StringC & attrName,const StringC & attrValue)
Set a stream attribute.
Returns false if the attribute name is unknown. This is for handling stream attributes such as frame rate, and compression ratios.

#include "Ravl/DP/Entity.hh"
bool Save(ostream & out) const
Save to ostream.

bool Save(BinOStreamC & out) const
Save to binary stream.

RCBodyVC & Copy() const
Creat a copy of this object.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 29/10/98, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002