ParaView
vtkPVCompositeRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCompositeRepresentation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef vtkPVCompositeRepresentation_h
29 #define vtkPVCompositeRepresentation_h
30 
32 #include "vtkPVClientServerCoreRenderingModule.h" //needed for exports
33 
35 
36 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPVCompositeRepresentation
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
48  void SetSelectionRepresentation(vtkSelectionRepresentation*);
49 
53  virtual void MarkModified();
54 
59  virtual void SetVisibility(bool visible);
60 
64  virtual void SetSelectionVisibility(bool visible);
65 
67 
70  virtual void SetUpdateTime(double time);
71  virtual void SetForceUseCache(bool val);
72  virtual void SetForcedCacheKey(double val);
74 
76 
79  virtual void SetPointFieldDataArrayName(const char*);
80  virtual void SetCellFieldDataArrayName(const char*);
82 
87  virtual unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable);
88 
89 protected:
92 
98  virtual bool AddToView(vtkView* view);
99 
105  virtual bool RemoveFromView(vtkView* view);
106 
109 
110 private:
112  void operator=(const vtkPVCompositeRepresentation&) VTK_DELETE_FUNCTION;
113 };
114 
115 #endif
combine multiple representations into one with only 1 representation active at a time.
virtual bool AddToView(vtkView *view)
Adds the representation to the view.
virtual void SetVisibility(bool val)
Methods overridden to propagate to the active representation.
virtual void SetForcedCacheKey(double val)
Passed on to internal representations as well.
a data-representation used by ParaView.
virtual bool RemoveFromView(vtkView *view)
Removes the representation to the view.
virtual unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable)
Initialize the representation with an identifier range so each internal representation can own a uniq...
vtkSelectionRepresentation * SelectionRepresentation
virtual void SetForceUseCache(bool val)
Passed on to internal representations as well.
static vtkCompositeRepresentation * New()
virtual void SetUpdateTime(double time)
Passed on to internal representations as well.
virtual void MarkModified()
Propagate the modification to all internal representations.
vtkSelectionRepresentation is a representation to show the extracted cells.
void PrintSelf(ostream &os, vtkIndent indent)