[vtkusers] vtkOBBTree functionality without rendered representation
    Surajit Nundy 
    nundys at neuro.duke.edu
       
    Wed Mar 26 18:28:30 EST 2003
    
    
  
Hi,
	I have been successfully using vtkOBBTree for sometime now in Java+VTK 
using code adapted from OBBCylinder.tcl (partly copied below).  I would 
now like to use its functionality without it being rendered.  When I
1) do not use the last line (SetRepresentationToPoints) a visual 
surface analog appears, or change it to
2) SetRepresentation 0, I still see rendered points.
Is there some way that I can use vtkOBBTree's functionality 
(InsideOrOutside) without rendering it?
Thanks
Surajit Nundy
vtkOBBTree obb
   obb SetMaxLevel 10
   obb SetNumberOfCellsPerBucket 5
   obb AutomaticOff
vtkSpatialRepresentationFilter boxes
   boxes SetInput [transPD GetOutput]
   boxes SetSpatialRepresentation obb
vtkPolyDataMapper boxMapper
   boxMapper SetInput [boxes GetOutput]
vtkActor boxActor
   boxActor SetMapper boxMapper
   [boxActor GetProperty] SetAmbient 1
   [boxActor GetProperty] SetDiffuse 0
   [boxActor GetProperty] SetRepresentationToPoints
    
    
More information about the vtkusers
mailing list