|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
#include <ctxImageUtils.h>
Public Member Functions | |
| virtual gzUInt32 | getNumberOfImages ()=0 |
| virtual gzUInt32 | getImageWidth ()=0 |
| virtual gzUInt32 | getImageHeight ()=0 |
| virtual gzUInt32 | getImageDepth ()=0 |
| virtual gzFloat | getComponentValue (gzUInt32 id, gzInt32 x, gzInt32 y, gzInt32 depth)=0 |
| gzFloat | getInterpolatedComponentValue (gzUInt32 id, gzDouble x, gzDouble y, gzInt32 depth, ctxImageInterpolationType interpolation) |
| Sample a component with explicit nearest/linear interpolation. | |
Definition at line 32 of file ctxImageUtils.h.
|
pure virtual |
Implemented in ctxImageCollection.
|
pure virtual |
Implemented in ctxImageCollection.
|
pure virtual |
Implemented in ctxImageCollection.
|
pure virtual |
Implemented in ctxImageCollection.
| gzFloat ctxImageAccessInterface::getInterpolatedComponentValue | ( | gzUInt32 | id, |
| gzDouble | x, | ||
| gzDouble | y, | ||
| gzInt32 | depth, | ||
| ctxImageInterpolationType | interpolation ) |
Sample a component with explicit nearest/linear interpolation.
Integer pixel centers and floor(x+.5) nearest ties are used. The accessor supplies border values. Invalid image/depth/mode, nonfinite coordinates or coordinates outside the supported signed-pixel range return zero. This nonvirtual helper does not change interface layout or ownership.
|
pure virtual |
Implemented in ctxImageCollection.