// -------------------------------------------------------------------------
-std::string _path = "C://dev//creatis//cpPlugins//build//Debug//cpPluginsIO.dll";
+std::string _pathIOplugin = "C://dev//creatis//cpPlugins//build//Debug//cpPluginsIO.dll";
std::string _img = "C://img//SphereVolume.mhd";
int main(int argc, char* argv[])
{
if (argc >= 3)
{
- _path = argv[1];
+ _pathIOplugin = argv[1];
_img = argv[2];
}
// Create interface
TInterface plugins;
- if (!plugins.Load(_path))
+ if (!plugins.Load(_pathIOplugin))
{
std::cerr << "Failed to load plugins." << std::endl;
return(1);
vtkSmartPointer<TSphereWidget> sphereWidget =
vtkSmartPointer<TSphereWidget>::New();
sphereWidget->SetInteractor(interactor);
- sphereWidget->CreateDefaultRepresentation();
+// sphereWidget->CreateDefaultRepresentation();
- vtkSphereRepresentation* sphereRepresentation =
+ /* vtkSphereRepresentation* sphereRepresentation =
vtkSphereRepresentation::SafeDownCast(sphereWidget->GetRepresentation());
- sphereRepresentation->HandleVisibilityOn();
+ sphereRepresentation->HandleVisibilityOn();*/
// Begin interaction
renderer->ResetCamera();