[vtkusers] Bug ? vtkProperty problem in vtk 5.3]

Anka Kochanowska anka at bic.mni.mcgill.ca
Mon Jul 28 09:57:31 EDT 2008


Hi!
Sorry for posting again.
 
I tested the following code in vtk 5.0 and 5.3. In 5.0 only tip points 
of the axes are visible, in 5.3 the lines are visible.
Is it intentional?

  vtkAxes * axesSource = vtkAxes::New();
     axesSource->SetScaleFactor( 150 );
     axesSource->SymmetricOn();
     axesSource->ComputeNormalsOff();
   vtkPolyDataMapper *axesMapper = vtkPolyDataMapper::New();
     axesMapper->SetInput(axesSource->GetOutput());
     axesMapper->SetScalarVisibility( 1 );
   vtkActor *axesActor = vtkActor::New();
     axesActor->SetMapper( axesMapper );
   vtkProperty *property = vtkProperty::New();
     property->SetRepresentation( VTK_POINTS );
     
     axesActor->SetProperty( property );
     axesActor->PickableOff();

Anka





More information about the vtkusers mailing list