Plugins/PointSprite/ParaViewPlugin/pqTransferFunctionEditor.cxx
void pqTransferFunctionEditor::SetProxyValue(const char *name,
    QList<QVariant> val,
    bool updateFlag)
{
  vtkSMProxy
      *reprProxy =
          (this->Internals->Representation ? this->Internals->Representation->getProxy()
              : NULL);
  if (!reprProxy)
    {
    return;
    }

  vtkSMProperty* Property = reprProxy->GetProperty(name);
  pqSMAdaptor::setMultipleElementProperty(Property, val);
  if (updateFlag && !this->Internals->BlockSignals)
    {
    reprProxy->UpdateVTKObjects();
    this->updateAllViews();
    }
}
//----------------------------------------------------------------------------
// The routines below here should be in some generic proxy set/get class
//----------------------------------------------------------------------------
The routines below here should be in some generic proxy set/get class
The routines below here should be in some generic proxy set / get class
void pqTransferFunctionEditor::SetProxyValue(const char *name,
    QList<QVariant> val,
    bool updateFlag)
{
  vtkSMProxy
      *reprProxy =
          (this->Internals->Representation ? this->Internals->Representation->getProxy()
              : NULL);
  if (!reprProxy)
    {
    return;
    }
  vtkSMProperty* Property = reprProxy->GetProperty(name);
  pqSMAdaptor::setMultipleElementProperty(Property, val);
  if (updateFlag && !this->Internals->BlockSignals)
    {
    reprProxy->UpdateVTKObjects();
    this->updateAllViews();
    }
}
void pqTransferFunctionEditor :: SetProxyValue ( const char * name , QList < QVariant > val , bool updateFlag ) { vtkSMProxy * reprProxy = ( this -> Internals -> Representation ? this -> Internals -> Representation -> getProxy ( ) : NULL ) ; if ( ! reprProxy ) { return ; } vtkSMProperty * Property = reprProxy -> GetProperty ( name ) ; pqSMAdaptor :: setMultipleElementProperty ( Property , val ) ; if ( updateFlag && ! this -> Internals -> BlockSignals ) { reprProxy -> UpdateVTKObjects ( ) ; this -> updateAllViews ( ) ; } }
The routines below here should be in some generic proxy set/get class
The routines below here should be in some generic proxy set / get class