vtkPVScalarBarRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPVScalarBarRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
15 
16 /*
17  * Copyright 2008 Sandia Corporation.
18  * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
19  * license for use of this work by or on behalf of the
20  * U.S. Government. Redistribution and use in source and binary forms, with
21  * or without modification, are permitted provided that this Notice and any
22  * statement of authorship are reproduced on all copies.
23  */
24 
33 #ifndef vtkPVScalarBarRepresentation_h
34 #define vtkPVScalarBarRepresentation_h
35 
36 #include "vtkRemotingViewsModule.h" // needed for export macro
37 
39 
41 {
42 public:
44  ostream& os, vtkIndent indent) override;
46 
47  enum
48  {
49  AnyLocation = 0,
55  UpperCenter
56  };
57 
59 
70  vtkSetMacro(WindowLocation, int);
71  vtkGetMacro(WindowLocation, int);
73 
78  int RenderOverlay(vtkViewport*) override;
79 
80 protected:
82  ~vtkPVScalarBarRepresentation() override;
83 
85 
86 private:
88  void operator=(const vtkPVScalarBarRepresentation&) = delete;
89 };
90 
91 #endif // vtkPVScalarBarRepresentation
static vtkScalarBarRepresentation * New()
#define VTKREMOTINGVIEWS_EXPORT
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual int RenderOverlay(vtkViewport *)
Represent scalar bar for vtkScalarBarWidget.
void operator=(const vtkObjectBase &)