22 #ifndef vtkSMUtilities_h 23 #define vtkSMUtilities_h 25 #include "vtkPVServerManagerRenderingModule.h" 27 #include "vtkSmartPointer.h" 37 void PrintSelf(ostream& os, vtkIndent indent);
46 static int SaveImage(vtkImageData* image,
const char* filename,
int quality);
47 static int SaveImage(vtkImageData* image,
const char* filename)
56 static int SaveImage(vtkImageData* image,
const char* filename,
const char* writerName);
62 static int SaveImageOnProcessZero(
63 vtkImageData* image,
const char* filename,
const char* writerName);
72 static vtkPoints* CreateOrbit(
73 const double center[3],
const double normal[3],
int resolution,
const double startPoint[3]);
76 static vtkPoints* CreateOrbit(
77 const double center[3],
const double normal[3],
double radius,
int resolution);
84 static void Merge(vtkImageData* dest, vtkImageData* src,
int borderWidth = 0,
85 const unsigned char* borderColorRGB = NULL);
90 static vtkSmartPointer<vtkImageData> MergeImages(
91 const std::vector<vtkSmartPointer<vtkImageData> >& images,
int borderWidth = 0,
92 const unsigned char* borderColorRGB = NULL);
99 static void FillImage(vtkImageData* image,
const int extent[6],
const unsigned char rgb[3]);
void PrintSelf(ostream &os, vtkIndent indent)
static int SaveImage(vtkImageData *image, const char *filename, int quality)
Save the image to a file.
superclass for most server manager classes
static int SaveImage(vtkImageData *image, const char *filename)
collection of utility methods.
static vtkSMObject * New()