VTK
vtkSelectionNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSelectionNode.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 =========================================================================*/
51 #ifndef vtkSelectionNode_h
52 #define vtkSelectionNode_h
53 
54 #include "vtkCommonDataModelModule.h" // For export macro
55 #include "vtkObject.h"
56 
57 //BTX
58 class vtkAbstractArray;
60 class vtkInformation;
64 class vtkProp;
65 class vtkTable;
66 //ETX
67 
69 {
70 public:
72  void PrintSelf(ostream& os, vtkIndent indent);
73  static vtkSelectionNode* New();
74 
76  virtual void Initialize();
77 
79 
83 
85 
89 
91 
94 
96  virtual void DeepCopy(vtkSelectionNode* src);
97 
102 
104  unsigned long GetMTime();
105 
106  // vtkSelectionNode specific keys follow:
108 
122 //BTX
124  {
125  SELECTIONS, // Deprecated.
133  BLOCKS, // used to select blocks within a composite dataset.
134  QUERY
135  };
136 //ETX
138 
140 
142  virtual void SetContentType(int type);
143  virtual int GetContentType();
145 
147 
152 //BTX
154  {
160  ROW
161  };
162 //ETX
164 
166 
168  virtual void SetFieldType(int type);
169  virtual int GetFieldType();
171 
173 
178 
180 
181  vtkSetStringMacro(QueryString);
182  vtkGetStringMacro(QueryString);
184 
188 
193 
199 
202 
206 
209 
213 
216 
220 
223 
226 
228 
232 
237 
241 
246 
249  bool EqualProperties(vtkSelectionNode* other, bool fullcompare=true);
250 
251 //BTX
252 protected:
255 
258  char* QueryString;
259 
260 private:
261  vtkSelectionNode(const vtkSelectionNode&); // Not implemented.
262  void operator=(const vtkSelectionNode&); // Not implemented.
263 //ETX
264 };
265 
266 #endif
vtkSelectionNode::SOURCE_ID
static vtkInformationIntegerKey * SOURCE_ID()
vtkSelectionNode::ShallowCopy
virtual void ShallowCopy(vtkSelectionNode *src)
vtkgl::data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkSelectionNode::FIELD_TYPE
static vtkInformationIntegerKey * FIELD_TYPE()
vtkSelectionNode::ConvertAttributeTypeToSelectionField
static int ConvertAttributeTypeToSelectionField(int val)
vtkSelectionNode
A node in a selection tree. Used to store selection results.
Definition: vtkSelectionNode.h:69
vtkSelectionNode::Properties
vtkInformation * Properties
Definition: vtkSelectionNode.h:256
vtkSelectionNode::LOCATIONS
@ LOCATIONS
Definition: vtkSelectionNode.h:131
vtkSelectionNode::PROCESS_ID
static vtkInformationIntegerKey * PROCESS_ID()
vtkSelectionNode::CONTAINING_CELLS
static vtkInformationIntegerKey * CONTAINING_CELLS()
vtkCommonDataModelModule.h
vtkSelectionNode::PROP
static vtkInformationObjectBaseKey * PROP()
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkSelectionNode::SelectionData
vtkDataSetAttributes * SelectionData
Definition: vtkSelectionNode.h:257
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkSelectionNode::PEDIGREEIDS
@ PEDIGREEIDS
Definition: vtkSelectionNode.h:127
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkSelectionNode::QueryString
char * QueryString
Definition: vtkSelectionNode.h:258
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkSelectionNode::EPSILON
static vtkInformationDoubleKey * EPSILON()
vtkSelectionNode::SubtractSelectionList
void SubtractSelectionList(vtkSelectionNode *other)
vtkSelectionNode::FRUSTUM
@ FRUSTUM
Definition: vtkSelectionNode.h:130
vtkSelectionNode::SelectionContent
SelectionContent
Definition: vtkSelectionNode.h:124
vtkInformationDoubleKey
Key for double values in vtkInformation.
Definition: vtkInformationDoubleKey.h:34
vtkSelectionNode::VALUES
@ VALUES
Definition: vtkSelectionNode.h:128
vtkSelectionNode::CONTENT_TYPE
static vtkInformationIntegerKey * CONTENT_TYPE()
vtkgl::val
GLuint GLfloat * val
Definition: vtkgl.h:13789
vtkSelectionNode::GetSelectionList
virtual vtkAbstractArray * GetSelectionList()
vtkSelectionNode::POINT
@ POINT
Definition: vtkSelectionNode.h:156
vtkSelectionNode::VERTEX
@ VERTEX
Definition: vtkSelectionNode.h:158
vtkSelectionNode::SetSelectionData
virtual void SetSelectionData(vtkDataSetAttributes *data)
vtkSelectionNode::INDEXED_VERTICES
static vtkInformationIntegerKey * INDEXED_VERTICES()
vtkSelectionNode::COMPOSITE_INDEX
static vtkInformationIntegerKey * COMPOSITE_INDEX()
vtkSelectionNode::~vtkSelectionNode
~vtkSelectionNode()
vtkSelectionNode::SetContentType
virtual void SetContentType(int type)
vtkSelectionNode::SOURCE
static vtkInformationObjectBaseKey * SOURCE()
vtkgl::src
GLenum src
Definition: vtkgl.h:12525
vtkSelectionNode::BLOCKS
@ BLOCKS
Definition: vtkSelectionNode.h:133
vtkInformationObjectBaseKey
Key for vtkObjectBase values.
Definition: vtkInformationObjectBaseKey.h:33
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:34
vtkSelectionNode::GLOBALIDS
@ GLOBALIDS
Definition: vtkSelectionNode.h:126
vtkSelectionNode::GetMTime
unsigned long GetMTime()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkSelectionNode::GetFieldType
virtual int GetFieldType()
vtkSelectionNode::ConvertSelectionFieldToAttributeType
static int ConvertSelectionFieldToAttributeType(int val)
vtkSelectionNode::Initialize
virtual void Initialize()
vtkSelectionNode::DeepCopy
virtual void DeepCopy(vtkSelectionNode *src)
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkSelectionNode::FIELD
@ FIELD
Definition: vtkSelectionNode.h:157
vtkSelectionNode::SetSelectionList
virtual void SetSelectionList(vtkAbstractArray *)
vtkObject.h
vtkSelectionNode::GetContentType
virtual int GetContentType()
vtkSelectionNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAbstractArray
Abstract superclass for all arrays.
Definition: vtkAbstractArray.h:65
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkProp
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:50
vtkSelectionNode::INVERSE
static vtkInformationIntegerKey * INVERSE()
vtkSelectionNode::SelectionField
SelectionField
Definition: vtkSelectionNode.h:154
vtkSelectionNode::New
static vtkSelectionNode * New()
vtkSelectionNode::PROP_ID
static vtkInformationIntegerKey * PROP_ID()
vtkSelectionNode::vtkSelectionNode
vtkSelectionNode()
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkSelectionNode::THRESHOLDS
@ THRESHOLDS
Definition: vtkSelectionNode.h:132
vtkSelectionNode::SELECTIONS
@ SELECTIONS
Definition: vtkSelectionNode.h:125
vtkSelectionNode::EDGE
@ EDGE
Definition: vtkSelectionNode.h:159
vtkgl::type
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
vtkSelectionNode::COMPONENT_NUMBER
static vtkInformationIntegerKey * COMPONENT_NUMBER()
vtkSelectionNode::INDICES
@ INDICES
Definition: vtkSelectionNode.h:129
vtkSelectionNode::HIERARCHICAL_LEVEL
static vtkInformationIntegerKey * HIERARCHICAL_LEVEL()
vtkSelectionNode::SetFieldType
virtual void SetFieldType(int type)
vtkSelectionNode::PIXEL_COUNT
static vtkInformationIntegerKey * PIXEL_COUNT()
vtkSelectionNode::CELL
@ CELL
Definition: vtkSelectionNode.h:155
vtkSelectionNode::HIERARCHICAL_INDEX
static vtkInformationIntegerKey * HIERARCHICAL_INDEX()
vtkSelectionNode::EqualProperties
bool EqualProperties(vtkSelectionNode *other, bool fullcompare=true)
vtkSelectionNode::UnionSelectionList
void UnionSelectionList(vtkSelectionNode *other)