CFunctionFromImage3D

class Lib3MF::CFunctionFromImage3D : public CFunction
PImage3D GetImage3D()

Returns the selected 3D image.

Returns:

image instance

void SetImage3D(classParam<CImage3D> pImage3D)

Sets the 3D image of the selector.

Parameters:

pImage3D – image instance

void SetFilter(const eTextureFilter eFilter)

Sets the texture filter of the selector.

Parameters:

eFilter – texture filter

eTextureFilter GetFilter()

Returns the texture filter of the selector.

Returns:

texture filter

void SetTileStyles(const eTextureTileStyle eTileStyleU, const eTextureTileStyle eTileStyleV, const eTextureTileStyle eTileStyleW)

Sets the tile styles of the selector.

Parameters:
  • eTileStyleU – tile style in U

  • eTileStyleV – tile style in V

  • eTileStyleW – tile style in W

void GetTileStyles(eTextureTileStyle &eTileStyleU, eTextureTileStyle &eTileStyleV, eTextureTileStyle &eTileStyleW)

Retrieves the tile styles of the selector.

Parameters:
  • eTileStyleU – tile style in U

  • eTileStyleV – tile style in V

  • eTileStyleW – tile style in W

Lib3MF_double GetOffset()

returns the offset value for the pixel values in the Image3D

Returns:

the offset value for the pixel values in the Image3D

void SetOffset(const Lib3MF_double dOffset)

Sets the offset value for the pixel values in the Image3D

Parameters:

dOffset – the offset value for the pixel values in the Image3D

Lib3MF_double GetScale()

returns the scale value for the pixel values in the Image3D

Returns:

the scale value for the pixel values in the Image3D

void SetScale(const Lib3MF_double dScale)

Sets the scale value for the pixel values in the Image3D

Parameters:

dScale – the scale value for the pixel values in the Image3D

typedef std::shared_ptr<CFunctionFromImage3D> Lib3MF::PFunctionFromImage3D

Shared pointer to CFunctionFromImage3D to easily allow reference counting.