Hello!
I was trying (and failing) to change the image texture of
a pqDataRepresentation in a plugin and I was wondering
if anyone could lend a hand.
This is the code I have:
//this->Representation is a pqDataRepresentation*
pqSMAdaptor::setElementProperty(this->Representation->getProxy()->GetPr
The texture property does not take a filename, it's a proxy-property
that needs a source that produces an image-data that can be used as
the texture. Look at code in
ParaView/Qt/Components/pqTextureComboBox.cxx to see how this is done
especially pqTextureComboBox::loadTexture(const QString& filenam