CorTeX Core ABI 7
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
ctxImageAccessInterface Class Referenceabstract

#include <ctxImageUtils.h>

Inheritance diagram for ctxImageAccessInterface:
ctxImageCollection

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.

Detailed Description

Definition at line 32 of file ctxImageUtils.h.

Member Function Documentation

◆ getComponentValue()

virtual gzFloat ctxImageAccessInterface::getComponentValue ( gzUInt32 id,
gzInt32 x,
gzInt32 y,
gzInt32 depth )
pure virtual

Implemented in ctxImageCollection.

◆ getImageDepth()

virtual gzUInt32 ctxImageAccessInterface::getImageDepth ( )
pure virtual

Implemented in ctxImageCollection.

◆ getImageHeight()

virtual gzUInt32 ctxImageAccessInterface::getImageHeight ( )
pure virtual

Implemented in ctxImageCollection.

◆ getImageWidth()

virtual gzUInt32 ctxImageAccessInterface::getImageWidth ( )
pure virtual

Implemented in ctxImageCollection.

◆ getInterpolatedComponentValue()

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.

◆ getNumberOfImages()

virtual gzUInt32 ctxImageAccessInterface::getNumberOfImages ( )
pure virtual

Implemented in ctxImageCollection.


The documentation for this class was generated from the following file: