[vtkusers] Lines width
Giancarlo Amati
amati at ira.cnr.it
Wed Jun 12 04:35:32 EDT 2002
Yes you can with:
[gridActor GetProperty] SetLineWidth Number>1
On Wed, 12 Jun 2002 vtk at le.isac.cnr.it wrote:
> Hi ,
> I work witdh VTK 4, tcl/tk on linux workstation.
> I'd drow a line, but i want to change a width.
> Can i do to change it?
>
>
> ***************************************************
>
> vtkPoints Pts
>
> #set barra [expr $barra + $incrementobarra]
> Pts InsertNextPoint 0.70 0.055 0.0
> Pts InsertNextPoint 0.70 0.055 0.0
>
> vtkCellArray Lines
> Lines InsertNextCell 2
> Lines InsertCellPoint 0
> Lines InsertCellPoint 1
>
>
>
> vtkPolyData Grid
> Grid SetPoints Pts
> Grid SetLines Lines
>
>
>
> # Set up the mapper and actor (2D) for the grid.
> vtkPolyDataMapper2D mapper_linea
> mapper_linea SetInput Grid
> mapper_linea SetTransformCoordinate normCoords
> vtkActor2D gridActor
> gridActor SetMapper mapper_linea
> [gridActor GetProperty] SetColor 0 1 0
> *******************************************************
>
>
> _______________________________________________
> 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
>
--
----------------------------------------
dott. Giancarlo Amati |
(amati at ira.cnr.it) |
|
National Research Council |
RadioAstronomical Institute |
office phone n. +39 051 6399405 |
via Gobetti 101 - Bologna (Italy) |
----------------------------------------
More information about the vtkusers
mailing list