CL_OutlineProvider Class Reference
[clanDisplay Collision]

Collision detection contour. More...

#include <outline_provider.h>

Inheritance diagram for CL_OutlineProvider:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Construction

 CL_OutlineProvider ()
 Construct a outline provider.
virtual ~CL_OutlineProvider ()
Attributes

virtual std::vector< CL_Contourget_contours ()=0
 return the countours that make up the outline
virtual int get_width ()=0
 return the width of the image used as basis for outline creation, or -1 when loading a precompiled outline.
virtual int get_height ()=0
 return the height of the image used as basis for outline creation, or -1 when loading a precompiled outline.
Operations

virtual void destroy ()=0
 Destroys the provider.

Detailed Description

Collision detection contour.

Abstract Base class for outline providers. Don't use this!


Constructor & Destructor Documentation

CL_OutlineProvider::CL_OutlineProvider (  )  [inline]

Construct a outline provider.

virtual CL_OutlineProvider::~CL_OutlineProvider (  )  [inline, virtual]

Member Function Documentation

virtual void CL_OutlineProvider::destroy (  )  [pure virtual]

Destroys the provider.

Implemented in CL_OutlineProviderBitmap, and CL_OutlineProviderFile.

virtual std::vector<CL_Contour> CL_OutlineProvider::get_contours (  )  [pure virtual]

return the countours that make up the outline

Implemented in CL_OutlineProviderBitmap, and CL_OutlineProviderFile.

virtual int CL_OutlineProvider::get_height (  )  [pure virtual]

return the height of the image used as basis for outline creation, or -1 when loading a precompiled outline.

Implemented in CL_OutlineProviderBitmap, and CL_OutlineProviderFile.

virtual int CL_OutlineProvider::get_width (  )  [pure virtual]

return the width of the image used as basis for outline creation, or -1 when loading a precompiled outline.

Implemented in CL_OutlineProviderBitmap, and CL_OutlineProviderFile.


The documentation for this class was generated from the following file: