Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Enumerations | Functions | Variables
pixelpos.cxx File Reference
#include "vtkTIFFReader.h"
#include "vtkJPEGReader.h"
#include "vtkPNGReader.h"
#include "vtkRenderer.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"
#include "vtkPolyData.h"
#include "vtkPoints.h"
#include "vtkIntArray.h"
#include "vtkCellArray.h"
#include "vtkPolyDataMapper.h"
#include "vtkLookupTable.h"
#include "vtkActor.h"
#include "vtkFloatArray.h"
#include "vtkTexture.h"
#include "vtkImageResample.h"
#include "vtkImageClip.h"
#include "vtkCamera.h"
#include "vtkImageShiftScale.h"
#include <sstream>
#include <string>
#include <iostream>
#include <vector>
#include "SimpleOpt.h"
#include "a_subpixel_interactor.h"
#include "pixelpos.help"
+ Include dependency graph for pixelpos.cxx:

Go to the source code of this file.

Enumerations

enum  {
  OPT_HELP , OPT_Xm , OPT_Ym , OPT_XM ,
  OPT_YM , OPT_OUT , OPT_IN , OPT_QUIET
}
 

Functions

int error (int val)
 
std::string input_file ("")
 
int error_tests (int argc, char **argv)
 
int * window (int xm, int ym, int xM, int yM, int *dim)
 
int cmp_nocase (const std::string &s, const std::string &s2)
 
int main (int argc, char **argv)
 

Variables

CSimpleOpt::SOption g_rgOptions []
 
bool with_output = true
 
bool small_window = false
 
bool verbose = true
 
int xm = 0
 
int ym = 0
 
int xM = 100000
 
int yM = 100000
 
std::string name
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_Xm 
OPT_Ym 
OPT_XM 
OPT_YM 
OPT_OUT 
OPT_IN 
OPT_QUIET 

Definition at line 44 of file pixelpos.cxx.

Function Documentation

◆ cmp_nocase()

int cmp_nocase ( const std::string &  s,
const std::string &  s2 
)

Definition at line 166 of file pixelpos.cxx.

+ Here is the caller graph for this function:

◆ error()

int error ( int  val)

Definition at line 64 of file pixelpos.cxx.

+ Here is the caller graph for this function:

◆ error_tests()

int error_tests ( int  argc,
char **  argv 
)

Definition at line 81 of file pixelpos.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ input_file()

std::string input_file ( ""  )
+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 180 of file pixelpos.cxx.

+ Here is the call graph for this function:

◆ window()

int* window ( int  xm,
int  ym,
int  xM,
int  yM,
int *  dim 
)

Definition at line 136 of file pixelpos.cxx.

+ Here is the caller graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_Xm, _T("-xm"), SO_REQ_SEP },
{ OPT_Ym, _T("-ym"), SO_REQ_SEP },
{ OPT_XM, _T("-xM"), SO_REQ_SEP },
{ OPT_YM, _T("-yM"), SO_REQ_SEP },
{ OPT_OUT, _T("-nof"), SO_NONE },
{ OPT_OUT, _T("--no-output-file"), SO_NONE },
{ OPT_IN, _T("-i"), SO_REQ_SEP },
{ OPT_IN, _T("--input"), SO_REQ_SEP },
{ OPT_QUIET, _T("-q"), SO_NONE },
{ OPT_QUIET, _T("--quit"), SO_NONE },
{ OPT_HELP, _T("-?"), SO_NONE },
{ OPT_HELP, _T("-h"), SO_NONE },
{ OPT_HELP, _T("--help"), SO_NONE },
SO_END_OF_OPTIONS
}
@ OPT_YM
Definition: pixelpos.cxx:44
@ OPT_QUIET
Definition: pixelpos.cxx:44
@ OPT_XM
Definition: pixelpos.cxx:44
@ OPT_OUT
Definition: pixelpos.cxx:44
@ OPT_HELP
Definition: pixelpos.cxx:44
@ OPT_Xm
Definition: pixelpos.cxx:44
@ OPT_IN
Definition: pixelpos.cxx:44
@ OPT_Ym
Definition: pixelpos.cxx:44

Definition at line 46 of file pixelpos.cxx.

◆ name

std::string name

Definition at line 77 of file pixelpos.cxx.

◆ small_window

bool small_window = false

Definition at line 71 of file pixelpos.cxx.

◆ verbose

bool verbose = true

Definition at line 72 of file pixelpos.cxx.

◆ with_output

bool with_output = true

Definition at line 70 of file pixelpos.cxx.

◆ xm

int xm = 0

Definition at line 73 of file pixelpos.cxx.

◆ xM

int xM = 100000

Definition at line 75 of file pixelpos.cxx.

◆ ym

int ym = 0

Definition at line 74 of file pixelpos.cxx.

◆ yM

int yM = 100000

Definition at line 76 of file pixelpos.cxx.