enthought / enthought/mayavi

Apply different glyphs witihin one vtk source

Open
#232 0 comments 0 reactions 0 assignees View on GitHub
support
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

Hi,

I load some VTK data as

``` python
plot=tools.pipeline.open(vtk_file)
```

and then apply the glyph module to it:

``` python
tools.pipeline.glyph(plot, scale_factor=0.95, mode='cube')
```

I would like each glyph to have a different color and/or transparency value. Is that possible this way? The glyph call applies to the whole VTK source object, doesn't it? Would I need to split the VTK data into several sources?

Thanks,

nick

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.