()
| 32 | planeActor.GetProperty().SetRepresentationToWireframe() |
| 33 | # procedure for generating glyphs |
| 34 | def Glyph(): |
| 35 | ptId = glypher.GetPointId() |
| 36 | pd = glypher.GetPointData() |
| 37 | x,y,z = glypher.GetPoint() |
| 38 | length = glypher.GetInput(0).GetLength() |
| 39 | scale = length/(2.0*res) |
| 40 | squad.SetScale(scale,scale,scale) |
| 41 | squad.SetCenter(x,y,z) |
| 42 | squad.SetPhiRoundness(abs(x)*5.0) |
| 43 | squad.SetThetaRoundness(abs(y)*5.0) |
| 44 | squad.Update() |
| 45 | |
| 46 | # create simple poly data so we can apply glyph |
| 47 | squad = vtkSuperquadricSource() |
nothing calls this directly
no test coverage detected