You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
671 B
Python
23 lines
671 B
Python
FluidGrid : FluidModelObject {
|
|
var <>oversample, <>extent, <>axis;
|
|
*new {|server, oversample = 1, extent = 0, axis = 0|
|
|
^super.new(server,[oversample, extent, axis])
|
|
.oversample_(oversample).extent_(extent).axis_(axis);
|
|
}
|
|
|
|
prGetParams{
|
|
^[this.oversample, this.extent, this.axis];
|
|
}
|
|
|
|
fitTransformMsg{|sourceDataSet, destDataSet|
|
|
^this.prMakeMsg(\fitTransform,id, sourceDataSet.id, destDataSet.id);
|
|
}
|
|
|
|
fitTransform{|sourceDataSet, destDataSet, action|
|
|
actions[\fitTransform] = [nil,action];
|
|
this.fitTransformMsg(sourceDataSet,destDataSet);
|
|
this.prSendMsg(this.fitTransformMsg(sourceDataSet,destDataSet));
|
|
}
|
|
|
|
}
|