|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
#include <vtkImageData.h>#include "iAbase_export.h"Classes | |
| class | iAvtkImageData |
| An image which allows the user to specify min/max of scalar range. More... | |
Functions | |
| template<typename T > | |
| void | clearImage (vtkImageData *img, T c) |
| Set all pixels in the given image to the given value See the notes for drawPixel regarding Modified(). | |
| template<typename T > | |
| void | drawLine (vtkImageData *img, int x1, int y1, int x2, int y2, T c) |
| Draw a line in the given image. | |
| template<typename T > | |
| void | drawPixel (vtkImageData *img, int x, int y, int z, T c) |
| Change a single pixel in the given image. | |
| void clearImage | ( | vtkImageData * | img, |
| T | c | ||
| ) |
Set all pixels in the given image to the given value See the notes for drawPixel regarding Modified().
WARNING: Only use for INT type at the moment!
| void drawLine | ( | vtkImageData * | img, |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| T | c | ||
| ) |
Draw a line in the given image.
See the notes for drawPixel regarding Modified(). WARNING: Only use for INT type at the moment!
| void drawPixel | ( | vtkImageData * | img, |
| int | x, | ||
| int | y, | ||
| int | z, | ||
| T | c | ||
| ) |
Change a single pixel in the given image.
Don't forget to call Modified() on the image, and if the scalar range changed, to update the scalar range (unfortunately that seems to require a "dirty hack" at the moment, see iAvtkImageData above). WARNING: Only use for INT type at the moment!