I can't see how this is possible through the SharedProperties as the color combo box that is displayed in the "Display Properties" is chosen from the result of pqPipelineRepresentation::getRepresentationType() (from the call in pqDisplayProxyEditor.cxx line 695). This will default to vtkSMPVRepresentationProxy::SURFACE for all user defined representations inheriting from SurfaceRepresentation type - really this should be checking the subtype ID that is specified in the XML file, although I'm not quite sure how this can be done....
Can you get it to work with the example plugin? Thanks, Paul On 22 February 2010 15:05, Utkarsh Ayachit <[email protected]>wrote: > One solution is to share common properties with the > SurfaceRepresentation sub-proxy using the <ShareProperties> tag. You > can add exceptions (you will have to add exceptions for Input, > Representation properties at the least). > > Utkarsh > > On Mon, Feb 22, 2010 at 7:48 AM, Paul Edwards <[email protected]> > wrote: > > Hi, > > I have compiled the representation plugin in the CVS and I have the > problem > > that I cannot change the colour for the "Special Mapper" in the Object > > Inspector's "Display" panel. This seems to be due to the display > properties > > being for the surface representation rather than the wireframe (it shows > > "Set Solid Color..." rather than "Set Ambient Color..."). Does anyone > know > > who to fix this? > > Thanks in advance, > > Paul > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > > > > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
