add () overload for read pixel
This commit is contained in:
parent
8a6c3606e8
commit
ca6eb088f3
@ -786,6 +786,11 @@ public:
|
|||||||
|
|
||||||
// Operator overloads
|
// Operator overloads
|
||||||
|
|
||||||
|
double operator()( int x, int y, int z = 0 )
|
||||||
|
{
|
||||||
|
return( this->getpoint( x, y )[z] );
|
||||||
|
}
|
||||||
|
|
||||||
friend VImage operator+( VImage a, VImage b )
|
friend VImage operator+( VImage a, VImage b )
|
||||||
throw( VError )
|
throw( VError )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user