X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fexample_SphereWidget.cxx;h=8de844a8f49b3660e469529bbaa3d913f7cead5a;hb=d56baa341853f2a8ffb8a6436619b54f146200ee;hp=ac0d27c81b553b82ba70e548e2715c6d0af97ea8;hpb=4a793c6b8f400b2303a3f69680aea22948d8ecc6;p=cpPlugins.git diff --git a/appli/examples/example_SphereWidget.cxx b/appli/examples/example_SphereWidget.cxx index ac0d27c..8de844a 100644 --- a/appli/examples/example_SphereWidget.cxx +++ b/appli/examples/example_SphereWidget.cxx @@ -105,11 +105,11 @@ int main(int argc, char* argv[]) vtkSmartPointer sphereWidget = vtkSmartPointer::New(); sphereWidget->SetInteractor(interactor); - sphereWidget->CreateDefaultRepresentation(); +// sphereWidget->CreateDefaultRepresentation(); - vtkSphereRepresentation* sphereRepresentation = + /* vtkSphereRepresentation* sphereRepresentation = vtkSphereRepresentation::SafeDownCast(sphereWidget->GetRepresentation()); - sphereRepresentation->HandleVisibilityOn(); + sphereRepresentation->HandleVisibilityOn();*/ // Begin interaction renderer->ResetCamera();