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

PLTIFFEncoderEx Class Reference

Basic tiff output is available via "PLTIFFEncoder::MakeFileFromBmp()". More...

#include <pltiffencex.h>

Inheritance diagram for PLTIFFEncoderEx:

Inheritance graph
[legend]
Collaboration diagram for PLTIFFEncoderEx:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PLTIFFEncoderEx ()
 Creates an encoder.
virtual ~PLTIFFEncoderEx ()
 Destroys an encoder.
bool Associate (PLDataSink *)
 Bind DataSink to Encoder (the link is the TIFF* member).
void Dissociate (void)
 Flush the output.
int SetBaseTags (PLBmp *)
 SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*).
int SetField (int tag_id,...)
 SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*).

Protected Member Functions

virtual void DoEncode (PLBmp *, PLDataSink *=0)
 Sets up LIBTIFF environment and calls LIBTIFF to encode an image.

Private Attributes

TIFFm_TiffToken

Detailed Description

Basic tiff output is available via "PLTIFFEncoder::MakeFileFromBmp()".

This does not compress data or allow any informative tag to be set. For those who need greater control, PLTIFFDecoderEx is provided.

Definition at line 20 of file pltiffencex.h.


Constructor & Destructor Documentation

PLTIFFEncoderEx::PLTIFFEncoderEx  ) 
 

Creates an encoder.

Definition at line 37 of file pltiffencex.cpp.

PLTIFFEncoderEx::~PLTIFFEncoderEx  )  [virtual]
 

Destroys an encoder.

Definition at line 44 of file pltiffencex.cpp.

References Dissociate().

Here is the call graph for this function:


Member Function Documentation

bool PLTIFFEncoderEx::Associate PLDataSink  ) 
 

Bind DataSink to Encoder (the link is the TIFF* member).

Definition at line 50 of file pltiffencex.cpp.

References PLDataSink::m_nCurPos, PLDataSink::m_nMaxFileSize, PLDataSink::m_pStartData, m_TiffToken, and TIFFOpenMem().

Here is the call graph for this function:

void PLTIFFEncoderEx::Dissociate void   ) 
 

Flush the output.

Definition at line 59 of file pltiffencex.cpp.

References m_TiffToken.

Referenced by ~PLTIFFEncoderEx().

void PLTIFFEncoderEx::DoEncode PLBmp ,
PLDataSink = 0
[protected, virtual]
 

Sets up LIBTIFF environment and calls LIBTIFF to encode an image.

Reimplemented from PLTIFFEncoder.

Definition at line 69 of file pltiffencex.cpp.

References PLTIFFEncoder::DoTiffEncode(), m_TiffToken, and PLASSERT.

Here is the call graph for this function:

int PLTIFFEncoderEx::SetBaseTags PLBmp  ) 
 

SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*).

Definition at line 79 of file pltiffencex.cpp.

References m_TiffToken, and PLTIFFEncoder::SetBaseTags().

Here is the call graph for this function:

int PLTIFFEncoderEx::SetField int  tag_id,
  ...
 

SetBaseTabs and SetField make their base class equivalent usable, without requiring the user to know about the libtiff internals (TIFF*).

Definition at line 85 of file pltiffencex.cpp.

References m_TiffToken.


Member Data Documentation

TIFF* PLTIFFEncoderEx::m_TiffToken [private]
 

Definition at line 49 of file pltiffencex.h.

Referenced by Associate(), Dissociate(), DoEncode(), SetBaseTags(), and SetField().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:21:02 2004 for vuVolume by  doxygen 1.3.9.1