Functions

apps/pnm2vti/pnm2vti.cpp File Reference

This file encompasses the PNM to VTI file format application. More...

#include "vtkImageData.h"
#include "vtkPNMReader.h"
#include "vtkXMLImageDataWriter.h"
#include "DGVAliases.h"
Include dependency graph for pnm2vti.cpp:

Go to the source code of this file.

Functions

void processArgs (int argcount, char *argvars[], int &binary, string &prefix, int &startSlice, int &endSlice)
 Function Prototypes.
int main (int argc, char *argv[])

Detailed Description

This file encompasses the PNM to VTI file format application.

Author:
Shekhar S. Chandra, 2007-2009

This file is part of DGV Library.

DGV is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

DGV is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with DGV. If not, see <http://www.gnu.org/licenses/>.

Definition in file pnm2vti.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Process arguments

Open PNM File/Stack

Output to VTK XML Image (VTI) file

Definition at line 31 of file pnm2vti.cpp.

void processArgs ( int  argcount,
char *  argvars[],
int &  binary,
string &  prefix,
int &  startSlice,
int &  endSlice 
)

Function Prototypes.

Function Bodies.

Definition at line 114 of file pnm2vti.cpp.