BlobField explanation of what BlobField is and/or does


Inherits from: Object : ScalarField


More detailed prose description of BlobField.


See also: Object [some other help files]


Some Important Issues Regarding BlobField (optional)


Explanation of the issues. For more information see Nil and [some other help files].


Creation / Class Methods


*new (low, high, fieldDesc, normalize)

Short prose description of method.

low - Explanation of low. Default value is 0.0. Other information.

high - Explanation of high. Default value is 1.0. Other information.

fieldDesc - Explanation of fieldDesc. Default value is nil. Other information.

normalize - if true, the output is rescaled to be between 0 and 1.

// inline example

g = BlobField.new;

g.doSomething; // explanation

g.cleanUpMethod;



Accessing Instance and Class Variables

high_(arg1)

high

Explanation including the type of high and a link to its help file.

Default value is nil.

low_(arg1)

low

Explanation including the type of low and a link to its help file.

Default value is nil.

Doing Some Task (optional)


A short bit of prose explaining something about the task.

init (alow, ahigh)

Short prose description of method.

alow - Explanation of alow. Default value is nil. Other information.

ahigh - Explanation of ahigh. Default value is nil. Other information.

// inline example

g = BlobField.init;

g.doSomething; // explanation

g.cleanUpMethod;



value (point)

Short prose description of method.

point - Explanation of point. Default value is nil. Other information.

// inline example

g = BlobField.value;

g.doSomething; // explanation

g.cleanUpMethod;



valueUnmapped (point)

Short prose description of method.

point - Explanation of point. Default value is nil. Other information.

// inline example

g = BlobField.valueUnmapped;

g.doSomething; // explanation

g.cleanUpMethod;






Examples


a = BlobField(0.0,1.0, 60.collect{ [RealVector.rand(2),rrand(0.4,1.0),0.05] })

a.plotUni(Rect(0,0,1,1),400,0.2);

a.getRange;

a.value(RealVector[0.2,0.7]);



BlobField(0.0,1.0,[[RealVector[0.5,0.5],1,0.05]]).plotUni(Rect(0,0,1,1),400,0.2);

BlobField(0.0,1.0,[[RealVector[0.5,0.5],1,0.1]]).plotUni(Rect(0,0,1,1),400,0.2);

BlobField(0.0,1.0,[[RealVector[0.5,0.5],1,0.2],[RealVector[0.1,0.1],1,0.05]]).plotUni(Rect(0,0,1,1),400,0.2);