"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Graphics/TriD/TriD/Image.pm" between
PDL-2.077.tar.gz and PDL-2.078.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

Image.pm  (PDL-2.077):Image.pm  (PDL-2.078)
skipping to change at line 47 skipping to change at line 47
bless $this,$type; bless $this,$type;
} }
sub get_points { sub get_points {
return $_[0]->{Points}; return $_[0]->{Points};
} }
# In the future, have this happen automatically by the ndarrays. # In the future, have this happen automatically by the ndarrays.
sub data_changed { sub data_changed {
my($this) = @_; my($this) = @_;
$this->changed(); $this->changed;
} }
# ND ndarray -> 2D # ND ndarray -> 2D
sub flatten { sub flatten {
my ($this,$bin_align) = @_; my ($this,$bin_align) = @_;
my @dims = $this->{Im}->dims; my @dims = $this->{Im}->dims;
shift @dims; # get rid of the '3' shift @dims; # get rid of the '3'
my $xd = $dims[0]; my $yd = $dims[1]; my $xd = $dims[0]; my $yd = $dims[1];
my $xdr = $xd; my $ydr = $yd; my $xdr = $xd; my $ydr = $yd;
# Calculate the whole width of the image. # Calculate the whole width of the image.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)