Last change
on this file since 6226 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:
837 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: Leif Delgass <ldelgass@purdue.edu> |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef VTKVIS_TGAWRITER_H |
---|
9 | #define VTKVIS_TGAWRITER_H |
---|
10 | |
---|
11 | #ifdef USE_THREADS |
---|
12 | #include "ResponseQueue.h" |
---|
13 | #endif |
---|
14 | |
---|
15 | namespace VtkVis { |
---|
16 | #ifdef USE_THREADS |
---|
17 | extern |
---|
18 | void queueTGA(ResponseQueue *queue, const char *cmdName, |
---|
19 | const unsigned char *data, int width, int height, |
---|
20 | int bytesPerPixel); |
---|
21 | #else |
---|
22 | extern |
---|
23 | void writeTGA(int fd, const char *cmdName, |
---|
24 | const unsigned char *data, int width, int height, |
---|
25 | int bytesPerPixel); |
---|
26 | #endif |
---|
27 | extern |
---|
28 | void writeTGAFile(const char *filename, |
---|
29 | const unsigned char *data, int width, int height, |
---|
30 | int bytesPerPixel, bool srcIsRGB = false); |
---|
31 | } |
---|
32 | |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.