7#ifndef __vtkImageRectangularSource_h
8#define __vtkImageRectangularSource_h
10#include "vtkImageAlgorithm.h"
12#include <vtkVersion.h>
19 void PrintSelf(ostream& os, vtkIndent indent)
override;
31 vtkSetVector3Macro(Center,
int);
32 vtkGetVector3Macro(Center,
int);
36 vtkSetVector3Macro(Size,
int);
37 vtkGetVector3Macro(Size,
int);
41 vtkSetMacro(InValue,
float);
42 vtkGetMacro(InValue,
float);
46 vtkSetMacro(OutValue,
float);
47 vtkGetMacro(OutValue,
float);
51 vtkSetMacro(InsideGraySlopeFlag,
int);
52 vtkGetMacro(InsideGraySlopeFlag,
int);
56 vtkSetMacro(OutputScalarType,
int);
57 vtkGetMacro(OutputScalarType,
int);
59 {this->SetOutputScalarType(VTK_DOUBLE);}
61 {this->SetOutputScalarType(VTK_FLOAT);}
63 {this->SetOutputScalarType(VTK_LONG);}
65 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
67 {this->SetOutputScalarType(VTK_INT);}
69 {this->SetOutputScalarType(VTK_UNSIGNED_INT);}
71 {this->SetOutputScalarType(VTK_SHORT);}
73 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);}
75 {this->SetOutputScalarType(VTK_CHAR);}
77 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);}
80 void SetCorners(
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4);
96 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
void SetOutputScalarTypeToInt()
void SetOutputScalarTypeToDouble()
void SetWholeExtent(int extent[6])
Set/Get the extent of the whole output image.
void SetOutputScalarTypeToUnsignedInt()
~vtkImageRectangularSource() override
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToUnsignedLong()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkImageRectangularSource * New()
void SetOutputScalarTypeToFloat()
void SetWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
void PrintSelf(ostream &os, vtkIndent indent) override
void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo) override
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToShort()
vtkImageRectangularSource()
void SetCorners(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
If you do no want to define a rectangular with edges of 90 degree.
void GetWholeExtent(int extent[6])
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToUnsignedShort()