

That way, by loading a Python and an XML file as plugins, I was able to do exactly what you are trying to achieve.įor reference here is the XML part, for the filter, I’m sure you can figure it out. I’ve created a filter ExtractTopHoleFilter using the python plugin infrastructure. I’ve created a new Representation via an XML file (no code) that I load as a plugin in PV 5.8 > ExtractTopHoleFilter > DataLabelRepresentation Hi done it the following way inside a ParaViewWeb app: Or would I have to generate “3D Text” objects? But the “always-look-to-the-camera feature” of the “Text” objects is of course much better because it is readable no matter how the user wants to rotate the model.Īny hints regarding a feasible way to that goal? All the many “Text” objects should appear as only one in the pipeline, so they can be simultaneously switched on or off.

In the same way I would like it to generate also all the “Text” objects, but make sure they are displayed as “billboards” in the right place from the beginning. The “sampling reader” already generates the graphic objects to display the drillholes with “tubes” and all the attributes. then go to the “Display” properties, switch to the “billboard” display and “attach” the label to the right drillhole.from “Sources” - “Annotations” generate a “Text” and enter the label.
PARAVIEW LABEL FORMAT INTEGER FULL
However, generating this is tedious for 10 drillholes (so I did it for 3 only) - not even think of doing it with a full data set with possibly hundreds of holes! Because each one of the labels means: These are the things that I would like to hear/read from people who have already thought about a possible implementation! The whole thing could be a filter, like the “Glyph” filter, or else some display attribute like the colors etc. I assume that I would have to generate some “transparent panels” on which to write the labels, and then make sure they only have an origin in 3d, while otherwise being somehow 2d and always oriented towards the camera.
PARAVIEW LABEL FORMAT INTEGER HOW TO
One point is also the fact that selections would not go into state files, so any labelling would not be reproduced if users are opening “the same thing” the next day again.Ī) Is such a label display option maybe indeed in 5.8 - and I was only too blind to see it?ī) Or else, are there any ideas or concepts about how to realize such a thing which I could follow if I find time myself? The point is that these people want to display exploration drill holes - which works quite nicely -, but they normally have some label, and this would be an interesting piece of information to see on the screen - and not only if the “collar” points are selected! After a first look into PV 5.8, I tried to find such a feature, but did not see anything so far! For some of my customers it would be rather important, so I consider doing it myself somehow if it is not coming from Kitware.
