Commit c6d21540 by André Reichenbach

[ADD] neighbor- and sliceiteration examples

parent 9c398395
......@@ -115,6 +115,25 @@ private:
*/
void processScalarSet( WDataSet2< WGridRegular3D2, WScalarStructural >::ConstSPtr const& ds );
/**
* An example on how to use a visitor to get the type of the data.
*
* \param ds The dataset.
*/
void processScalarSetCorrectType( WDataSet2< WGridRegular3D2, WScalarStructural >::ConstSPtr const& ds );
/**
* An example on how to use neighborhood iterators. Implements an erosion operation.
*
* \param ds The dataset.
*/
void erodeScalarSet( WDataSet2< WGridRegular3D2, WScalarStructural >::ConstSPtr const& ds );
/**
* An example on how to use slice iterators. Implements creation of a synthetic vector dataset.
*/
void createVectorSet();
//! An input connector for the data.
boost::shared_ptr< WModuleInputData< WDataSet2Base > > m_input;
......
......@@ -33,6 +33,10 @@
#include "WValueSet2.h"
#include "WIndexMap.h"
static std::size_t const SLICE_XY = 0;
static std::size_t const SLICE_XZ = 1;
static std::size_t const SLICE_YZ = 2;
// ################################ forward declarations #######################################
// forward declaration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment