vtkProperty and Boolean operations
Lisa S. Avila
lisa.avila at kitware.com
Mon Jul 26 22:19:45 EDT 1999
Hello Case,
This is a bug in the code that determines whether to rebuild the display
lists (it detects that the property has not been modified, but it misses
the fact that the property is not the same one it used to build the display
list). For now, you can simply turn ImmediateModeRenderingOn on the mapper,
which then won't use display lists. I'll fix the problem tomorrow so it
will show up in the nightly release on Wednesday.
Lisa
On Monday, July 26, 1999 9:11 AM, Case [SMTP:neuromancer at lineone.net]
wrote:
> Hi guys.
>
> I am writing a 3D polygonal modeller, with a view to simulating surgery
procedures.
> Sometimes I require an actor to be viewed as a solid object sometimes as
a wireframe mesh.
> I am using two vtkProperty objects to make the change when necessary.
> The code is (roughly, i think):
>
> / /wireframe required:
> myActor->SetProperty(wireprop)
> // Solid required:
> myActor->SetProperty(prevprop)
>
> where:
> wireprop->SetRepresentationToWireframe
> prevprop->SetRepresentationToSurface
>
> All properties (surface colour etc) update ok when the properties are
swapped but the representation always stays the same (ie if wireframe
property is initially used actor is always in wireframe mode). Is this a
bug in vtkProperty or have I screwed up the code?? btw i am using vtk 2.2
>
> Also, I need to be able to perform boolean subtractions on polygonal
objects. As far as I am aware, there is no filter in vtk that will allow me
to subtract one polygonal model from another. Has anyone implemented such a
thing??
>
> Thanks in advance,
> Case
>
> << File: ATT00006.htm >>
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list