Changeset 2573 for trunk/packages/vizservers/vtkvis/TGAWriter.h
- Timestamp:
- Sep 22, 2011, 8:13:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/TGAWriter.h
r2260 r2573 9 9 #define __RAPPTURE_VTKVIS_TGAWRITER_H__ 10 10 11 #ifdef USE_THREADS 12 #include "ResponseQueue.h" 13 #endif 14 11 15 namespace Rappture { 12 16 namespace VtkVis { 13 17 #ifdef USE_THREADS 14 18 extern 15 void writeTGA(int fd, const char *cmdName, const unsigned char *data, 16 int width, int height, int bytesPerPixel); 17 19 void queueTGA(ResponseQueue *queue, const char *cmdName, 20 const unsigned char *data, int width, int height, 21 int bytesPerPixel); 22 #else 18 23 extern 19 void writeTGAFile(const char *filename, const unsigned char *data, 20 int width, int height, int bytesPerPixel, 21 bool srcIsRGB = false); 22 24 void writeTGA(int fd, const char *cmdName, 25 const unsigned char *data, int width, int height, 26 int bytesPerPixel); 27 #endif 28 extern 29 void writeTGAFile(const char *filename, 30 const unsigned char *data, int width, int height, 31 int bytesPerPixel, bool srcIsRGB = false); 23 32 } 24 33 }
Note: See TracChangeset
for help on using the changeset viewer.