/usr/include/vtk-5.8/vtkBivariateStatisticsAlgorithm.h is in libvtk5-dev 5.8.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkBivariateStatisticsAlgorithm.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/*-------------------------------------------------------------------------
Copyright 2010 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.
-------------------------------------------------------------------------*/
// .NAME vtkBivariateStatistics - Base class for bivariate statistics
// algorithms
//
// .SECTION Description
// This class specializes statistics algorithms to the bivariate case, where
// a number of pairs of columns of interest can be selected in the input data set.
// This is done by the means of the following functions:
//
// ResetColumns() - reset the list of columns of interest.
// Add/RemoveColum( namColX, namColY ) - try to add/remove column pair ( namColX,
// namColy ) to/from the list.
// SetColumnStatus ( namCol, status ) - mostly for UI wrapping purposes, try to
// add/remove (depending on status) namCol from a list of buffered columns, from
// which all possible pairs are generated.
// The verb "try" is used in the sense that neither attempting to
// repeat an existing entry nor to remove a non-existent entry will work.
//
// .SECTION Thanks
// Thanks to Philippe Pebay and David Thompson from Sandia National Laboratories
// for implementing this class.
#ifndef __vtkBivariateStatisticsAlgorithm_h
#define __vtkBivariateStatisticsAlgorithm_h
#include "vtkStatisticsAlgorithm.h"
class vtkMultiBlockDataSet;
class vtkTable;
class VTK_INFOVIS_EXPORT vtkBivariateStatisticsAlgorithm : public vtkStatisticsAlgorithm
{
public:
vtkTypeMacro(vtkBivariateStatisticsAlgorithm, vtkStatisticsAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Convenience method to create a request with a single column name pair
// (\p namColX, \p namColY) in a single call; this is the preferred method to select
// columns pairs, ensuring selection consistency (a pair of columns per request).
//
// Unlike SetColumnStatus(), you need not call RequestSelectedColumns() after AddColumnPair().
//
// Warning: \p namColX and \p namColY are only checked for their validity as strings;
// no check is made that either are valid column names.
void AddColumnPair( const char* namColX, const char* namColY );
// Description:
// Use the current column status values to produce a new request for statistics
// to be produced when RequestData() is called.
// Unlike the superclass implementation, this version adds a new request for every
// possible pairing of the selected columns
// instead of a single request containing all the columns.
virtual int RequestSelectedColumns();
protected:
vtkBivariateStatisticsAlgorithm();
~vtkBivariateStatisticsAlgorithm();
// Description:
// Execute the calculations required by the Assess option.
virtual void Assess( vtkTable* inData,
vtkMultiBlockDataSet* inMeta,
vtkTable* outData );
private:
vtkBivariateStatisticsAlgorithm(const vtkBivariateStatisticsAlgorithm&); // Not implemented
void operator=(const vtkBivariateStatisticsAlgorithm&); // Not implemented
};
#endif
|