]> Creatis software - cpPlugins.git/blobdiff - appli/examples/example_SphereWidget.cxx
widgets update
[cpPlugins.git] / appli / examples / example_SphereWidget.cxx
index ac0d27c81b553b82ba70e548e2715c6d0af97ea8..8de844a8f49b3660e469529bbaa3d913f7cead5a 100644 (file)
@@ -105,11 +105,11 @@ int main(int argc, char* argv[])
   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();