source: branches/blt4/packages/vizservers/vtkvis/TGAWriter.h @ 2302

Last change on this file since 2302 was 2302, checked in by gah, 13 years ago

update from trunk

File size: 619 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2011, Purdue Research Foundation
4 *
5 * Author: Leif Delgass <ldelgass@purdue.edu>
6 */
7
8#ifndef __RAPPTURE_VTKVIS_TGAWRITER_H__
9#define __RAPPTURE_VTKVIS_TGAWRITER_H__
10
11namespace Rappture {
12namespace VtkVis {
13
14extern
15void writeTGA(int fd, const char *cmdName, const unsigned char *data,
16              int width, int height, int bytesPerPixel);
17
18extern
19void writeTGAFile(const char *filename, const unsigned char *data,
20                  int width, int height, int bytesPerPixel,
21                  bool srcIsRGB = false);
22
23}
24}
25
26#endif
Note: See TracBrowser for help on using the repository browser.