Go to the documentation of this file.
64 #ifndef vtkSMRepresentationProxy_h
65 #define vtkSMRepresentationProxy_h
67 #include "vtkRemotingViewsModule.h"
73 class vtkCloningVectorOfRepresentations;
105 int fieldAssoc,
int numComponents,
double uncertaintyAllowed = 1e-6,
double fraction = 1e-3,
144 virtual bool SetRepresentationType(
const char* type);
148 return self ?
self->SetRepresentationType(
type) :
false;
150 const char* GetRepresentationType();
154 return self ?
self->GetRepresentationType() :
nullptr;
166 return self ?
self->IsVolumeRendering() :
false;
168 bool IsVolumeRendering();
172 return self ?
self->GetUsing2DTransferFunction() :
false;
174 bool GetUsing2DTransferFunction();
202 void OnVTKRepresentationUpdated();
203 void OnVTKRepresentationUpdateSkipped();
204 void OnVTKRepresentationUpdateTimeChanged();
206 virtual void UpdatePipelineInternal(
double time,
bool doTime);
222 bool RepresentedDataInformationValid;
225 bool ProminentValuesInformationValid;
227 double ProminentValuesFraction;
228 double ProminentValuesUncertainty;
230 friend class vtkPVComparativeViewNS::vtkCloningVectorOfRepresentations;
231 void ClearMarkedModified() { this->MarkedModified =
false; }
233 bool VTKRepresentationUpdated;
234 bool VTKRepresentationUpdateSkipped;
235 bool VTKRepresentationUpdateTimeChanged;
237 std::string DebugName;
virtual int LoadXMLState(vtkPVXMLElement *element, vtkSMProxyLocator *locator)
Loads the proxy state from the XML element.
static bool GetUsing2DTransferFunction(vtkSMProxy *repr)
Convenient method to check if this representation is currently rendering volumes, using 2D Transfer f...
virtual void RemoveAllConsumers()
Remove all consumers.
Proxy for a representations.
virtual void InvalidateDataInformation()
Mark the data information as invalid.
superclass for all SM properties
static vtkSMRepresentationProxy * SafeDownCast(vtkObject *o)
proxy for a VTK object(s) on a server
static const char * GetRepresentationType(vtkSMProxy *repr)
Set the representation type.
void CreateVTKObjects() override
Call superclass' and then assigns a new executive (vtkCompositeDataPipeline)
proxy for a VTK source on a server
void PostUpdateData(bool) override
Overwritten from superclass to invoke.
void MarkDirty(vtkSMProxy *modifiedProxy) override
Marks the selection proxies dirty as well as chain to superclass.
static vtkSMSourceProxy * New()
virtual void RemoveConsumer(vtkSMProperty *property, vtkSMProxy *proxy)
Remove the property,proxy pair from the list of consumers.
virtual void MarkDirtyFromProducer(vtkSMProxy *modifiedProxy, vtkSMProxy *producer, vtkSMProperty *property)
MarkConsumersAsDirty calls this method on each consumer, instead of directly calling MarkDirty on the...
vtkTypeUInt32 GetGlobalID() override
Overridden to reserve additional IDs for use by "ExtractSelection" proxies.
static bool IsVolumeRendering(vtkSMProxy *repr)
Convenient method to check if this representation is currently rendering volumes, using 2D Transfer f...
static bool SetRepresentationType(vtkSMProxy *repr, const char *type)
Set the representation type.
virtual void UpdatePipeline()
Calls Update() on all sources.
is used to locate proxies referred to in state xmls while loading state files.
virtual void AddConsumer(vtkSMProperty *property, vtkSMProxy *proxy)
Called by a proxy property, this adds the property,proxy pair to the list of consumers.
void PrintSelf(ostream &os, vtkIndent indent) override