Last change
on this file since 3106 was
2573,
checked in by ldelgass, 13 years ago
|
Merge vtkvis_threaded branch to trunk. (Threading off by default in Makefile)
|
-
Property svn:eol-style set to
native
|
File size:
637 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2011, Purdue Research Foundation |
---|
4 | * |
---|
5 | * Author: George A. Howlett <gah@purdue.edu> |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef __RAPPTURE_VTKVIS_PPMWRITER_H__ |
---|
9 | #define __RAPPTURE_VTKVIS_PPMWRITER_H__ |
---|
10 | |
---|
11 | #ifdef USE_THREADS |
---|
12 | #include "ResponseQueue.h" |
---|
13 | #endif |
---|
14 | |
---|
15 | namespace Rappture { |
---|
16 | namespace VtkVis { |
---|
17 | #ifdef USE_THREADS |
---|
18 | extern |
---|
19 | void queuePPM(ResponseQueue *queue, const char *cmdName, |
---|
20 | const unsigned char *data, int width, int height); |
---|
21 | #else |
---|
22 | extern |
---|
23 | void writePPM(int fd, const char *cmdName, |
---|
24 | const unsigned char *data, int width, int height); |
---|
25 | #endif |
---|
26 | } |
---|
27 | } |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.