Files
ThirdParty-6/ParaView-5.0.1/ParaViewCore/ServerImplementation/Core/vtkSICompoundSourceProxy.h

64 lines
1.9 KiB
C++

/*=========================================================================
Program: ParaView
Module: vtkSICompoundSourceProxy.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkSICompoundSourceProxy
// .SECTION Description
// vtkSICompoundSourceProxy is the server-side helper for a
// vtkSMCompoundSourceProxy.
// It provides the mapping to the exposed output port to the underneath
// internal sub-proxy.
#ifndef vtkSICompoundSourceProxy_h
#define vtkSICompoundSourceProxy_h
#include "vtkPVServerImplementationCoreModule.h" //needed for exports
#include "vtkSISourceProxy.h"
class vtkAlgorithm;
class VTKPVSERVERIMPLEMENTATIONCORE_EXPORT vtkSICompoundSourceProxy : public vtkSISourceProxy
{
public:
static vtkSICompoundSourceProxy* New();
vtkTypeMacro(vtkSICompoundSourceProxy, vtkSISourceProxy);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Returns the vtkAlgorithmOutput for an output port, if valid.
virtual vtkAlgorithmOutput* GetOutputPort(int port);
//BTX
protected:
vtkSICompoundSourceProxy();
~vtkSICompoundSourceProxy();
// Description:
// Read xml-attributes.
virtual bool ReadXMLAttributes(vtkPVXMLElement* element);
// Description:
// Create the output ports and add post filters for each output port.
virtual bool CreateOutputPorts();
private:
vtkSICompoundSourceProxy(const vtkSICompoundSourceProxy&); // Not implemented
void operator=(const vtkSICompoundSourceProxy&); // Not implemented
class vtkInternals;
vtkInternals* Internals;
//ETX
};
#endif