source: trunk/packages/vizservers/vtkvis/TGAWriter.h @ 2263

Last change on this file since 2263 was 2260, checked in by ldelgass, 13 years ago

New heightmap command/object in vtkvis server - contour plot with vertical
displacement. Also initial work on supporting additional data set types
such as point clouds.

  • Property svn:eol-style set to native
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.