VTK  9.1.0
Classes | Macros
vtkWordCloud.h File Reference
#include "vtkImageAlgorithm.h"
#include "vtkImageData.h"
#include "vtkInfovisCoreModule.h"
#include "vtkSmartPointer.h"
#include <array>
#include <functional>
#include <set>
#include <string>
#include <vector>
Include dependency graph for vtkWordCloud.h:

Go to the source code of this file.

Classes

class  vtkWordCloud
 generate a word cloud visualization of a text document More...
 

Macros

#define SetStdContainerMacro(name, container)
 

Macro Definition Documentation

◆ SetStdContainerMacro

#define SetStdContainerMacro (   name,
  container 
)
Value:
virtual void Set##name(container arg) \
{ \
bool changed = false; \
if (arg.size() != name.size()) \
{ \
changed = true; \
} \
else \
{ \
auto a = arg.begin(); \
for (auto r : name) \
{ \
if (*a != r) \
{ \
changed = true; \
} \
a++; \
} \
} \
if (changed) \
{ \
name = arg; \
this->Modified(); \
} \
}
@ name
Definition: vtkX3D.h:225

Definition at line 232 of file vtkWordCloud.h.