Commit f85f38c3 authored by Will Schroeder's avatar Will Schroeder
Browse files

Initial revision

parent e517a992
/*=========================================================================
Program: Visualization Library
Module: SPt2Poly.hh
Language: C++
Date: $Date$
Version: $Revision$
Description:
---------------------------------------------------------------------------
This file is part of the Visualization Library. No part of this file
or its contents may be copied, reproduced or altered in any way
without the express written consent of the authors.
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
=========================================================================*/
//
// StructuredPointsToPolyDataFilter are filters that take
// StructuredPoints as input and generate PolyData data as output
//
#ifndef __vlStructuredPointsToPolyDataFilter_h
#define __vlStructuredPointsToPolyDataFilter_h
#include "StrPtsF.hh"
#include "PolyData.hh"
class vlStructuredPointsToPolyDataFilter : public vlPolyData,
public vlStructuredPointsFilter
{
public:
void Update();
char *GetClassName() {return "vlDataSetToPolyDataFilter";};
void PrintSelf(ostream& os, vlIndent indent);
};
#endif
/*=========================================================================
Program: Visualization Library
Module: SPt2Poly.cc
Language: C++
Date: $Date$
Version: $Revision$
Description:
---------------------------------------------------------------------------
This file is part of the Visualization Library. No part of this file
or its contents may be copied, reproduced or altered in any way
without the express written consent of the authors.
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 1993, 1994
=========================================================================*/
#include "SPt2Poly.hh"
void vlStructuredPointsToPolyDataFilter::Update()
{
vlStructuredPointsFilter::Update();
}
void vlStructuredPointsToPolyDataFilter::PrintSelf(ostream& os, vlIndent indent)
{
if (this->ShouldIPrint(vlStructuredPointsToPolyDataFilter::GetClassName()))
{
this->PrintWatchOn(); // watch for multiple inheritance
vlPolyData::PrintSelf(os,indent);
vlStructuredPointsFilter::PrintSelf(os,indent);
this->PrintWatchOff(); // stop worrying about it now
}
}
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