Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

Inkscape::Filters::FilterTurbulence Class Reference

Inheritance diagram for Inkscape::Filters::FilterTurbulence:
Inheritance graph
[legend]
Collaboration diagram for Inkscape::Filters::FilterTurbulence:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void area_enlarge (NRRectL &area, Geom::Matrix const &m)
virtual FilterTraits get_input_traits ()
virtual int render (FilterSlot &slot, FilterUnits const &units)
void render_area (NRPixBlock *pix, NR::IRect &full_area, FilterUnits const &units)
void reset_region ()
void set_baseFrequency (int axis, double freq)
void set_height (SVGLength &length)
virtual void set_input (int slot)
virtual void set_input (int input, int slot)
void set_numOctaves (int num)
virtual void set_output (int slot)
void set_region (SVGLength &x, SVGLength &y, SVGLength &width, SVGLength &height)
void set_seed (double s)
void set_stitchTiles (bool st)
void set_type (FilterTurbulenceType t)
void set_updated (bool u)
void set_width (SVGLength &length)
void set_x (SVGLength &length)
void set_y (SVGLength &length)
void update_pixbuffer (NR::IRect &area, FilterUnits const &units)

Static Public Member Functions

static FilterPrimitivecreate ()

Protected Attributes

int _input
int _output
SVGLength _region_height
SVGLength _region_width
SVGLength _region_x
SVGLength _region_y

Private Member Functions

double turbulence (int nColorChannel, double *point)
long Turbulence_setup_seed (long lSeed)
void TurbulenceInit (long lSeed)
double TurbulenceNoise2 (int nColorChannel, double vec[2], StitchInfo *pStitchInfo)
long TurbulenceRandom (long lSeed)

Private Attributes

double fGradient [4][BSize+BSize+2][2]
double fTileHeight
double fTileWidth
double fTileX
double fTileY
int numOctaves
NRPixBlockpix
unsigned char * pix_data
double seed
bool stitchTiles
FilterTurbulenceType type
int uLatticeSelector [BSize+BSize+2]
bool updated
NR::IRect updated_area
double XbaseFrequency
double YbaseFrequency

Detailed Description

Definition at line 65 of file nr-filter-turbulence.h.


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

Generated by  Doxygen 1.6.0   Back to index