File: TestF3DDracoReader.cxx

package info (click to toggle)
f3d 3.2.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,668 kB
  • sloc: cpp: 99,109; python: 811; sh: 342; xml: 238; java: 101; javascript: 95; makefile: 25
file content (16 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <vtkNew.h>
#include <vtkTestUtilities.h>

#include "vtkF3DDracoReader.h"

#include <iostream>

int TestF3DDracoReader(int vtkNotUsed(argc), char* argv[])
{
  std::string filename = std::string(argv[1]) + "data/suzanne.drc";
  vtkNew<vtkF3DDracoReader> reader;
  reader->SetFileName(filename);
  reader->Update();
  reader->Print(cout);
  return EXIT_SUCCESS;
}