Go to the documentation of this file.
29 #ifndef vtkImageCanvasSource2D_h
30 #define vtkImageCanvasSource2D_h
60 this->SetDrawColor(
a,
b,
c, 0.0);}
69 void FillBox(
int min0,
int max0,
int min1,
int max1);
77 double x2,
double y2,
double z2)
78 {
double p1[3], p2[3];
79 p1[0] = x1; p1[1] = y1; p1[2] = z1; p2[0] = x2; p2[1] = y2; p2[2] = z2;
80 this->DrawSegment3D(p1, p2);}
87 { this->DrawImage(x0, y0, i, -1, -1, -1, -1); }
102 void SetExtent(
int x1,
int x2,
int y1,
int y2,
int z1,
int z2);
void SetDrawColor(double a, double b, double c)
int ClipSegment(int &a0, int &a1, int &b0, int &b1)
GLboolean GLboolean GLboolean b
void DrawImage(int x0, int y0, vtkImageData *, int sx, int sy, int width, int height)
void SetDrawColor(double a)
void SetExtent(int *extent)
#define vtkSetVector3Macro(name, type)
void SetExtent(int x1, int x2, int y1, int y2, int z1, int z2)
void SetScalarTypeToUnsignedChar()
#define VTK_UNSIGNED_SHORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetScalarTypeToLong()
#define vtkTypeMacro(thisClass, superclass)
void SetScalarTypeToUnsignedLong()
GLint GLint GLint GLint GLint x
virtual int GetNumberOfScalarComponents() const
void DrawSegment3D(double x1, double y1, double z1, double x2, double y2, double z2)
Generic algorithm superclass for image algs.
void InitializeCanvasVolume(vtkImageData *volume)
virtual void SetNumberOfScalarComponents(int i)
void SetScalarTypeToFloat()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void FillPixel(int x, int y)
~vtkImageCanvasSource2D()
int GetScalarType() const
#define vtkGetVector3Macro(name, type)
void SetDrawColor(double a, double b)
topologically and geometrically regular array of data
a simple class to control print indentation
#define VTKIMAGINGSOURCES_EXPORT
#define VTK_UNSIGNED_CHAR
#define vtkGetMacro(name, type)
void SetScalarTypeToUnsignedInt()
void SetScalarTypeToChar()
void FillBox(int min0, int max0, int min1, int max1)
void DrawPoint(int p0, int p1)
GLboolean GLboolean GLboolean GLboolean a
#define VTK_UNSIGNED_LONG
GLint GLint GLsizei width
vtkSetMacro(IgnoreDriverBugs, bool)
void SetScalarTypeToInt()
#define vtkSetVector4Macro(name, type)
GLint GLint GLint GLint GLint GLint y
void DrawImage(int x0, int y0, vtkImageData *i)
void SetScalarTypeToDouble()
void SetScalarTypeToUnsignedShort()
void PrintSelf(ostream &os, vtkIndent indent)
void SetScalarTypeToShort()
void DrawCircle(int c0, int c1, double radius)
static vtkImageCanvasSource2D * New()
#define vtkGetVector4Macro(name, type)
void FillTriangle(int x0, int y0, int x1, int y1, int x2, int y2)
void DrawSegment(int x0, int y0, int x1, int y1)
void DrawSegment3D(double *p0, double *p1)
void FillTube(int x0, int y0, int x1, int y1, double radius)
GLint GLint GLsizei GLsizei height