33 #include "usVirtualServer.h"
34 #include <QApplication>
36 int main(
int argc,
char **argv)
40 for (
int i = 0; i < argc; i++) {
41 if (std::string(argv[i]) ==
"--input")
42 filename = std::string(argv[i + 1]);
43 else if (std::string(argv[i]) ==
"--help") {
44 std::cout <<
"\nUsage: " << argv[0]
45 <<
" [--input <mysequence.mhd>] [--help] [--rewind] [--pause <imageToPauseOn]>\n"
52 if (filename.empty()) {
54 if (!env_ipath.empty())
55 filename = env_ipath +
"/pre-scan/timestampSequence/sequenceTimestamps.xml";
57 std::cout <<
"You should set USTK_DATASET_PATH environment var to access to ustk dataset" << std::endl;
62 QApplication app(argc, argv);
Class to simulate a server sending frames from an ultrasound station. Permits to replay a sequence of...
VISP_EXPORT std::string getDataSetPath()