Collision detection contour. More...
#include <outline_provider.h>
Public Member Functions | |
Construction | |
CL_OutlineProvider () | |
Construct a outline provider. | |
virtual | ~CL_OutlineProvider () |
Attributes | |
virtual std::vector< CL_Contour > | get_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. |
Collision detection contour.
Abstract Base class for outline providers. Don't use this!
CL_OutlineProvider::CL_OutlineProvider | ( | ) | [inline] |
Construct a outline provider.
virtual CL_OutlineProvider::~CL_OutlineProvider | ( | ) | [inline, virtual] |
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.