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

#include <ctxImageUtils.h>

Inheritance diagram for ctxImageCollection:
ctxImageAccessInterface

Public Member Functions

 ctxImageCollection (gzUInt32 width=0, gzUInt32 height=0, gzUInt32 depth=0)
gzBool loadImages (const gzString &directoryPath, const gzString &extension_list=ALL_EXTENSIONS, gzBool loadImmediately=FALSE, gzUInt32 maxImages=0xFFFFFFFFUL)
gzVoid flushImages ()
virtual gzUInt32 getNumberOfImages () override
virtual gzString getImageName (gzUInt32 index)
virtual gzString getImagePath (gzUInt32 index)
virtual gzUInt32 getImageWidth () override
virtual gzUInt32 getImageHeight () override
virtual gzUInt32 getImageDepth () override
virtual gzFloat getMean (gzUInt32 index, gzUInt32 component)
virtual gzFloat getStdDev (gzUInt32 index, gzUInt32 component)
virtual gzFloat getComponentValue (gzUInt32 index, gzInt32 x, gzInt32 y, gzInt32 depth) override
virtual gzBool isValidImage (gzImage *image, const gzString &name)
const ctxImageNormalizationType & getNormalizationType () const
gzVoid setNormalizationType (const ctxImageNormalizationType &prop)
const gzBool & getKeepLoaded () const
gzVoid setKeepLoaded (const gzBool &prop)
const gzInt32 & getStartX () const
gzVoid setStartX (const gzInt32 &prop)
const gzUInt32 & getWidth () const
gzVoid setWidth (const gzUInt32 &prop)
const gzInt32 & getStartY () const
gzVoid setStartY (const gzInt32 &prop)
const gzUInt32 & getHeight () const
gzVoid setHeight (const gzUInt32 &prop)
const gzInt32 & getStartZ () const
gzVoid setStartZ (const gzInt32 &prop)
const gzUInt32 & getDepth () const
gzVoid setDepth (const gzUInt32 &prop)
const gzBool & getAllowAnySize () const
gzVoid setAllowAnySize (const gzBool &prop)
const ctxImageNotifyInterfacePtr & getNotifyInterface () const
gzVoid setNotifyInterface (const ctxImageNotifyInterfacePtr &prop)
Public Member Functions inherited from ctxImageAccessInterface
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 127 of file ctxImageUtils.h.

Constructor & Destructor Documentation

◆ ctxImageCollection()

ctxImageCollection::ctxImageCollection ( gzUInt32 width = 0,
gzUInt32 height = 0,
gzUInt32 depth = 0 )

References CTX_EXPORT.

Member Function Documentation

◆ flushImages()

gzVoid ctxImageCollection::flushImages ( )

References CTX_EXPORT.

◆ getAllowAnySize()

const gzBool & ctxImageCollection::getAllowAnySize ( ) const

References CTX_EXPORT.

◆ getComponentValue()

virtual gzFloat ctxImageCollection::getComponentValue ( gzUInt32 index,
gzInt32 x,
gzInt32 y,
gzInt32 depth )
overridevirtual

Implements ctxImageAccessInterface.

References CTX_EXPORT.

◆ getDepth()

const gzUInt32 & ctxImageCollection::getDepth ( ) const

References CTX_EXPORT.

◆ getHeight()

const gzUInt32 & ctxImageCollection::getHeight ( ) const

References CTX_EXPORT.

◆ getImageDepth()

virtual gzUInt32 ctxImageCollection::getImageDepth ( )
overridevirtual

Implements ctxImageAccessInterface.

References CTX_EXPORT.

◆ getImageHeight()

virtual gzUInt32 ctxImageCollection::getImageHeight ( )
overridevirtual

Implements ctxImageAccessInterface.

References CTX_EXPORT.

◆ getImageName()

virtual gzString ctxImageCollection::getImageName ( gzUInt32 index)
virtual

References CTX_EXPORT.

◆ getImagePath()

virtual gzString ctxImageCollection::getImagePath ( gzUInt32 index)
virtual

References CTX_EXPORT.

◆ getImageWidth()

virtual gzUInt32 ctxImageCollection::getImageWidth ( )
overridevirtual

Implements ctxImageAccessInterface.

References CTX_EXPORT.

◆ getKeepLoaded()

const gzBool & ctxImageCollection::getKeepLoaded ( ) const

References CTX_EXPORT.

◆ getMean()

virtual gzFloat ctxImageCollection::getMean ( gzUInt32 index,
gzUInt32 component )
virtual

References CTX_EXPORT.

◆ getNormalizationType()

const ctxImageNormalizationType & ctxImageCollection::getNormalizationType ( ) const

References CTX_EXPORT.

◆ getNotifyInterface()

const ctxImageNotifyInterfacePtr & ctxImageCollection::getNotifyInterface ( ) const

References CTX_EXPORT.

◆ getNumberOfImages()

virtual gzUInt32 ctxImageCollection::getNumberOfImages ( )
overridevirtual

Implements ctxImageAccessInterface.

References CTX_EXPORT.

◆ getStartX()

const gzInt32 & ctxImageCollection::getStartX ( ) const

References CTX_EXPORT.

◆ getStartY()

const gzInt32 & ctxImageCollection::getStartY ( ) const

References CTX_EXPORT.

◆ getStartZ()

const gzInt32 & ctxImageCollection::getStartZ ( ) const

References CTX_EXPORT.

◆ getStdDev()

virtual gzFloat ctxImageCollection::getStdDev ( gzUInt32 index,
gzUInt32 component )
virtual

References CTX_EXPORT.

◆ getWidth()

const gzUInt32 & ctxImageCollection::getWidth ( ) const

References CTX_EXPORT.

◆ isValidImage()

virtual gzBool ctxImageCollection::isValidImage ( gzImage * image,
const gzString & name )
inlinevirtual

Definition at line 155 of file ctxImageUtils.h.

References CTX_EXPORT.

◆ loadImages()

gzBool ctxImageCollection::loadImages ( const gzString & directoryPath,
const gzString & extension_list = ALL_EXTENSIONS,
gzBool loadImmediately = FALSE,
gzUInt32 maxImages = 0xFFFFFFFFUL )

References ALL_EXTENSIONS, and CTX_EXPORT.

◆ setAllowAnySize()

gzVoid ctxImageCollection::setAllowAnySize ( const gzBool & prop)

◆ setDepth()

gzVoid ctxImageCollection::setDepth ( const gzUInt32 & prop)

◆ setHeight()

gzVoid ctxImageCollection::setHeight ( const gzUInt32 & prop)

◆ setKeepLoaded()

gzVoid ctxImageCollection::setKeepLoaded ( const gzBool & prop)

◆ setNormalizationType()

gzVoid ctxImageCollection::setNormalizationType ( const ctxImageNormalizationType & prop)

◆ setNotifyInterface()

gzVoid ctxImageCollection::setNotifyInterface ( const ctxImageNotifyInterfacePtr & prop)

◆ setStartX()

gzVoid ctxImageCollection::setStartX ( const gzInt32 & prop)

◆ setStartY()

gzVoid ctxImageCollection::setStartY ( const gzInt32 & prop)

◆ setStartZ()

gzVoid ctxImageCollection::setStartZ ( const gzInt32 & prop)

◆ setWidth()

gzVoid ctxImageCollection::setWidth ( const gzUInt32 & prop)

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