11 #ifndef vtkPVTransferFunction2D_h 12 #define vtkPVTransferFunction2D_h 25 class vtkPVTransferFunction2DInternals;
53 vtkSetVector2Macro(OutputDimensions,
int);
54 vtkGetVector2Macro(OutputDimensions,
int);
66 double x,
double y,
double width,
double height,
double r,
double g,
double b,
double a);
67 int AddControlBox(
double x,
double y,
double width,
double height,
double* color);
68 int AddControlBox(
vtkRectd& box,
double* color);
71 int RemoveControlBox(
int id);
78 std::vector<vtkSmartPointer<vtkPVTransferFunction2DBox>> GetBoxes();
83 void RemoveAllBoxes();
90 vtkSetVector4Macro(Range,
double);
91 vtkGetVector4Macro(Range,
double);
108 double Range[4] = { 0, 0, 0, 0 };
113 int OutputDimensions[2] = { 10, 10 };
124 std::unique_ptr<vtkPVTransferFunction2DInternals> Internals;
130 #endif // vtkPVTransferFunction2D_h
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Defines a 2D transfer function for mapping to RGBA values for volume rendering.
void operator=(const vtkObjectBase &)