Public Member Functions | Properties

ChipmunkAbstractSampler Class Reference

A sampler is an object that provides a basis function to build shapes from. More...

#import <ChipmunkAutoGeometry.h>

Inherited by ChipmunkBitmapSampler, ChipmunkBlockSampler, and ChipmunkPointCloudSampler.

List of all members.

Public Member Functions

(id) - initWithSamplingFunction:
 Designated initializer.
(cpFloat) - sample:
 Sample at a specific point.
(ChipmunkPolylineSet *) - march:xSamples:ySamples:hard:
 March a certain area of the sampler.

Properties

cpMarchSampleFunc sampleFunc
 Get the primitive cpMarchSampleFunc used by this sampler.

Detailed Description

A sampler is an object that provides a basis function to build shapes from.

This can be from a block of pixel data (loaded from a file, or dumped from the screen), or even a mathematical function such as Perlin noise.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Properties