VTK
vtkBoostRandomSparseArraySource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBoostRandomSparseArraySource.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
32 #ifndef vtkBoostRandomSparseArraySource_h
33 #define vtkBoostRandomSparseArraySource_h
34 
35 #include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
36 #include "vtkArrayDataAlgorithm.h"
37 #include "vtkArrayExtents.h"
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
46 //BTX
49 
51 
53 //ETX
55 
57 
59  vtkGetMacro(ElementProbabilitySeed, vtkTypeUInt32);
60  vtkSetMacro(ElementProbabilitySeed, vtkTypeUInt32);
62 
64 
66  vtkGetMacro(ElementProbability, double);
67  vtkSetMacro(ElementProbability, double);
69 
71 
72  vtkGetMacro(ElementValueSeed, vtkTypeUInt32);
73  vtkSetMacro(ElementValueSeed, vtkTypeUInt32);
75 
77 
78  vtkGetMacro(MinValue, double);
79  vtkSetMacro(MinValue, double);
81 
83 
84  vtkGetMacro(MaxValue, double);
85  vtkSetMacro(MaxValue, double);
87 
88 //BTX
89 protected:
92 
97 
98 private:
100  void operator=(const vtkBoostRandomSparseArraySource&); // Not implemented
101 
102  vtkArrayExtents Extents;
103 
104  vtkTypeUInt32 ElementProbabilitySeed;
105  double ElementProbability;
106 
107  vtkTypeUInt32 ElementValueSeed;
108  double MinValue;
109  double MaxValue;
110 //ETX
111 };
112 
113 #endif
114 
115 // VTK-HeaderTest-Exclude: vtkBoostRandomSparseArraySource.h
vtkArrayDataAlgorithm.h
vtkBoostRandomSparseArraySource::New
static vtkBoostRandomSparseArraySource * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkInfovisBoostGraphAlgorithmsModule.h
vtkBoostRandomSparseArraySource::GetExtents
vtkArrayExtents GetExtents()
vtkBoostRandomSparseArraySource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkBoostRandomSparseArraySource
generates a sparse N-way array containing random values.
Definition: vtkBoostRandomSparseArraySource.h:40
vtkBoostRandomSparseArraySource::~vtkBoostRandomSparseArraySource
~vtkBoostRandomSparseArraySource()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
#define VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT
Definition: vtkInfovisBoostGraphAlgorithmsModule.h:15
vtkBoostRandomSparseArraySource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkArrayDataAlgorithm
Superclass for algorithms that produce vtkArrayDatas as output.
Definition: vtkArrayDataAlgorithm.h:53
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkBoostRandomSparseArraySource::vtkBoostRandomSparseArraySource
vtkBoostRandomSparseArraySource()
vtkArrayExtents.h
vtkArrayExtents
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray.
Definition: vtkArrayExtents.h:74
vtkBoostRandomSparseArraySource::SetExtents
void SetExtents(const vtkArrayExtents &)