32 #ifndef __vtkImageMask_h
33 #define __vtkImageMask_h
36 #include "vtkImagingCoreModule.h"
44 void PrintSelf(ostream& os, vtkIndent indent);
48 void SetMaskedOutputValue(
int num,
double *v);
51 {
double v[2]; v[0]=v1; v[1]=v2; this->SetMaskedOutputValue(2, v);}
53 {
double v[3]; v[0]=v1; v[1]=v2; v[2]=v3; this->SetMaskedOutputValue(3, v);}
62 vtkSetClampMacro ( MaskAlpha,
double, 0.0, 1.0 );
63 vtkGetMacro ( MaskAlpha,
double );
67 void SetImageInputData(vtkImageData *in);
70 void SetMaskInputData(vtkImageData *in);
77 vtkSetMacro(NotMask,
int);
78 vtkGetMacro(NotMask,
int);
79 vtkBooleanMacro(NotMask,
int);
98 vtkInformationVector **,
99 vtkInformationVector *);
103 vtkInformationVector **inputVector,
104 vtkInformationVector *outputVector,
105 vtkImageData ***inData,
106 vtkImageData **outData,
107 int extent[6],
int threadId);
double * GetMaskedOutputValue()
void SetMaskedOutputValue(double v1, double v2, double v3)
double * MaskedOutputValue
void SetMaskedOutputValue(double v1, double v2)
virtual void SetInput1Data(vtkDataObject *in)
void SetInputData(vtkDataObject *)
Combines a mask and an image.
int MaskedOutputValueLength
void PrintSelf(ostream &os, vtkIndent indent)
int GetMaskedOutputValueLength()
Generic filter that has one input..
void SetMaskedOutputValue(double v)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetInput2Data(vtkDataObject *in)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
static vtkAlgorithm * New()
general representation of visualization data