vtkSMBoxRepresentationProxy.h 1.83 KB
Newer Older
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/*=========================================================================

  Program:   ParaView
  Module:    vtkSMBoxRepresentationProxy.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 vtkSMBoxRepresentationProxy - proxy for vtkBoxRepresentation
// .SECTION Description
// vtkSMBoxRepresentationProxy is a proxy for vtkBoxRepresentation. A
// specialization is needed to set the tranform on the vtkBoxRepresentation.

20 21
#ifndef vtkSMBoxRepresentationProxy_h
#define vtkSMBoxRepresentationProxy_h
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
22

23
#include "vtkPVServerManagerRenderingModule.h" //needed for exports
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
24 25
#include "vtkSMWidgetRepresentationProxy.h"

26
class VTKPVSERVERMANAGERRENDERING_EXPORT vtkSMBoxRepresentationProxy : public vtkSMWidgetRepresentationProxy
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
27 28 29
{
public:
  static vtkSMBoxRepresentationProxy* New();
30
  vtkTypeMacro(vtkSMBoxRepresentationProxy, vtkSMWidgetRepresentationProxy);
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
31 32
  void PrintSelf(ostream& os, vtkIndent indent);

Sebastien Jourdain's avatar
Sebastien Jourdain committed
33
  virtual void UpdateVTKObjects();
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
34 35 36 37 38 39 40 41 42 43 44 45
  virtual void UpdatePropertyInformation();
  virtual void UpdatePropertyInformation(vtkSMProperty* prop)
    { this->Superclass::UpdatePropertyInformation(prop); }

protected:
  vtkSMBoxRepresentationProxy();
  ~vtkSMBoxRepresentationProxy();

  // This method is overridden to set the transform on the vtkWidgetRepresentation.
  virtual void CreateVTKObjects();

private:
46 47
  vtkSMBoxRepresentationProxy(const vtkSMBoxRepresentationProxy&) VTK_DELETE_FUNCTION;
  void operator=(const vtkSMBoxRepresentationProxy&) VTK_DELETE_FUNCTION;
48

Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
49 50 51 52
};

#endif