Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

halftoner::SFCPath Class Reference

#include <SFCPath.h>

Inheritance diagram for halftoner::SFCPath:

Inheritance graph
[legend]
List of all members.

Detailed Description

Class SFCPath provides an interface for operations on Hilbert space filling curves.

Definition at line 39 of file SFCPath.h.

Public Methods

Protected Methods

Abstract methods

Static Protected Methods

Class method

Constructor & Destructor Documentation

halftoner::SFCPath::SFCPath   [protected]
 

Constructor.

Definition at line 35 of file SFCPath.cxx.

halftoner::SFCPath::~SFCPath   [virtual]
 

Destructor.

Definition at line 45 of file SFCPath.cxx.


Member Function Documentation

virtual int halftoner::SFCPath::getX int    pos const throw () [protected, pure virtual]
 

Gets the x coordinate of the nth point.

Parameters:
pos  the canonical index of the coordinate.
Returns :
the x value of the coordinate.

Implemented in halftoner::SFCPath128, halftoner::SFCPath256, halftoner::SFCPath32, halftoner::SFCPath512, and halftoner::SFCPath64.

virtual int halftoner::SFCPath::getY int    pos const throw () [protected, pure virtual]
 

Gets the y coordinate of the nth point.

Parameters:
pos  the canonical index of the coordinate.
Returns :
the y value of the coordinate.

Implemented in halftoner::SFCPath128, halftoner::SFCPath256, halftoner::SFCPath32, halftoner::SFCPath512, and halftoner::SFCPath64.

int halftoner::SFCPath::makeInterleavedIndex int    pos throw () [static, protected]
 

Gets the nth index of a two element interleaved array.

Parameters:
pos  the canonical index
Returns :
the index in the interleaved array.

Definition at line 69 of file SFCPath.cxx.

const std::pair< int, int > halftoner::SFCPath::operator[] int    pos const throw ()
 

Accesses the nth coordinate of the curve.

Parameters:
pos  the index of the point.
Returns :
the coordinates of the point at the index.

Definition at line 55 of file SFCPath.cxx.


The documentation for this class was generated from the following files:
Generated on Sat Sep 7 16:36:07 2002 for Halftoning Library by doxygen1.2.17