[vtkusers] Using Glyphs
VovaJ at netscape.net
VovaJ at netscape.net
Thu Apr 12 21:13:23 EDT 2001
Hello! I have build an implicit surface using vtkSampleFunction.
And I extracted an triangulated surface from it using vtkContourFilter.
vtkContourFilter *contour =vtkContourFilter::New();
contour->SetInput(spline->GetOutput());
contour->SetValue(0,0.0);
Afterwards I try to glue a small Cones to it, using vtkGlyph3D,
vtkConeSource *cone = vtkConeSource::New();
vtkGlyph3D *glyph = vtkGlyph3D::New();
glyph->SetInput(deci->GetOutput());
glyph->SetSource(cone->GetOutput());
glyph->SetVectorModeToUseNormal();
glyph->SetScaleModeToScaleByVector();
glyph->SetScaleFactor(0.20);
but they are oriented to the inside of the surface, not to outside.
How can i fix it?
Any help is appretiated!
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
More information about the vtkusers
mailing list