source: trunk/packages/vizservers/vtkvis/PPMWriter.h @ 4256

Last change on this file since 4256 was 3615, checked in by ldelgass, 12 years ago

Remove enclosing Rappture namespace from vtkvis. Remove outline and outline
color subcommands from dataset in vtkvis protocol -- they are replaced by the
outline object. Translate heightmap to dataset z plane (client is doing this
right now).

  • Property svn:eol-style set to native
File size: 590 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2004-2012  HUBzero Foundation, LLC
4 *
5 * Author: George A. Howlett <gah@purdue.edu>
6 */
7
8#ifndef VTKVIS_PPMWRITER_H
9#define VTKVIS_PPMWRITER_H
10
11#ifdef USE_THREADS
12#include "ResponseQueue.h"
13#endif
14
15namespace VtkVis {
16#ifdef USE_THREADS
17extern
18void queuePPM(ResponseQueue *queue, const char *cmdName,
19              const unsigned char *data, int width, int height);
20#else
21extern
22void writePPM(int fd, const char *cmdName,
23              const unsigned char *data, int width, int height);
24#endif
25}
26#endif
Note: See TracBrowser for help on using the repository browser.