[vtkusers] Help with visualisation of pressure sketches
    Sylvain Jaume 
    sylvain.jaume at kitware.com
       
    Fri Aug 31 13:43:13 EDT 2007
    
    
  
Hi Monica,
Would a vtkGlyph2D and vtkPolyDataMapper be a solution for you?
Use vtkGlyph2D::ScalingOn()
and vtkGlyph2D::SetScaleModeToScaleByScalar()
HTH,
Sylvain
Date: Fri, 31 Aug 2007 16:44:23 +0200
From: Monica Gemo <Monica.Gemo at UCLouvain.be>
Subject: [vtkusers] Help with visualisation of pressure sketches
To: vtkusers at vtk.org
Message-ID: <7.0.1.0.2.20070831164332.01c4d158 at UCLouvain.be>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
on a 2D image I must visualise pressure sensitive marks
like the ones that you can make with gimp brushing.
The input data  (scalar values for the pressure
and the point coordinates) will be stored into a vtkPolyData.
Can anybody suggest me which are the best mapper
or filter that I can use with the vtkAct2D to get the brush-like effect
with thickness varying according to the pressure input?
Any reference example?
Thanks a lot,
Monica
    
    
More information about the vtkusers
mailing list