mirror of https://github.com/CGAL/cgal
Explain usage when called without arguments
This commit is contained in:
parent
57ad151cd4
commit
1fa552c1cb
|
|
@ -165,10 +165,6 @@ public:
|
|||
vx,vy,vz,offset));
|
||||
}
|
||||
|
||||
#if 0
|
||||
bool read_vtk_image_data(vtkImageData*);
|
||||
#endif // CGAL_USE_VTK
|
||||
|
||||
// implementation in src/CGAL_ImageIO/Image_3.cpp
|
||||
void gl_draw(const float point_size,
|
||||
const unsigned char r,
|
||||
|
|
|
|||
|
|
@ -37,7 +37,10 @@ using namespace CGAL::parameters;
|
|||
int main(int argc, char* argv[])
|
||||
{
|
||||
// Loads image
|
||||
|
||||
if(argc == 1){
|
||||
std::cerr << "Usage: " << argv[0] << " <directory with dicom data>\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
vtkDICOMImageReader*dicom_reader = vtkDICOMImageReader::New();
|
||||
dicom_reader->SetDirectoryName(argv[1]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue