You might find this interesting:
http://www.itk.org/Wiki/VTK/Examples/Cxx/PolyData/ExternalContour
Probably not the most efficient approach but it should work.
Rostislav.
On 1 Oct 2014, at 06:40, "Taylor Braun-Jones"
<[email protected]<mailto:[email protected]>> wrote:
I'm also very interested in something along these lines. Sebastian, your
silhouette idea using vtkPolyDataSilhouette is a bit closer to what I'm going
for but still not quite there. When I experimented with vtkPolyDataSilhouette a
while back I could not find any way to NOT draw a silhouette of interior
features. In other words, just draw the exterior contour shape without any
details inside that shape. In the VTK example with a simple sphere, this is not
an issue, but if you have, say, a CAD model of some irregular shape then
vtkPolyDataSilhouette will generate interior silhouette lines because "a
silhouette is generated wherever the surface's normal is orthogonal to the view
direction".
Any ideas for solving this problem? Have I overlooked any existing solution in
VTK? Or should I look into implementing a feature enhancement to the existing
vtkPolyDataSilhouette filter?
Regards,
Taylor
On Tue, Sep 30, 2014 at 10:04 PM, Sebastian Ordas
<[email protected]<mailto:[email protected]>> wrote:
Hi,
We could also render the silhouette
(http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/Silhouette) which would use
the current camera position in the 3D view
This would go in the line of Rostislav's 3D node picking approach (Bug 1447 -
picking of data tree nodes via vtk prop picker)
The selected objects could get their silhouette highlighted, like e.g. in
Blender.
best regards,
sebastian
On 29/09/2014 03:58 p.m., Wegner wrote:
Hi Rostislav,
I also wanted to enhance surface visualization by the edges so I can see the
opaque surface and the edges! I didn't yet have time for it. I would absolutely
vote for this feature / adaption!
;) Ingmar
Rostislav Khlebnikov
<[email protected]><mailto:[email protected]>schrieb:
Hi guys,
for me it was very useful to render the surface with edges. For that I
basically followed this simple example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ColorActorEdges,
making changes to vtk surface mapper 3d (added two properties - edge
visibility & edge color and set the vtkProperty accordingly in the mapper).
But it didn't work at first. It turned out that the problem is the use
of vtkOpenGLPolyDataMapper. But according to VTK docs,
vtkOpenGLPolyDataMapper is deprecated and replaced by
vtkPainterPolyDataMapper. When changing the vtkOpenGLPolyDataMapper to
vtkPainterPolyDataMapper in surface mapper, the edges were rendered
correctly. Is there any reason to hold on to the deprecated
vtkOpenGLPolyDataMapper? If not - I can easily give you the changes.
Rostislav.
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users