[vtkusers] why no color for the output from vtkCutter

Wu Ruoyun MRYWu at ntu.edu.sg
Mon Jun 16 04:49:01 EDT 2003


Hello,

I assumed that the output from vtkCutter is a normal vtkPolyData. I can display the output, but only in white color. I've tried to use vtkPolyDataMapper->GetProperty()->SetColor(1, 0, 0), but it is still in white. I have also tried the same SetColor approach but on a sphere from vtkSphereSource and it is in red correctly. Could anyone enlighten me about the problem?

Best Wishes!
Ruoyun

-----Original Message-----
From: Michael Hilbinger [mailto:michael.hilbinger at nmfgmbh.de]
Sent: Monday, June 16, 2003 4:18 PM
To: vtkusers at public.kitware.com
Subject: [vtkusers] ??? surface mesh and determination of in/out of the
volume


Hello,

I want to use vtk to construct layer meshes from a given surface mesh
defining a volume and - as expected - I'm encountering problems.

how could I solve the following:

I have a surface mesh consisting of triangles. As said, the surface is
closed and will represent a volume. If I want to contruct an offset surface
mesh inside the original surface mesh by geometrical definition, I'll need
to determine the direction towards the inside of the volume. Has anybody an
idea how I might perform this task?

Best regards
Michael

------------------------------------
     _o
  --/->
(_)/(_)
------------------------------------


_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list