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

Initial revision

parent 7402d47d
/*=========================================================================
Program: Visualization Library
Module: SPtsSrc.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
=========================================================================*/
// .NAME vlStructuredPointsSource - generate vlStructuredPoints data
// .SECTION Description
// vlStructuredPointsSource is an abstract class whose subclasses
// generate vlStructuredPoints data.
#ifndef __vlStructuredPointsSource_h
#define __vlStructuredPointsSource_h
#include "Source.hh"
#include "StrPts.hh"
class vlStructuredPointsSource : public vlSource, public vlStructuredPoints
{
public:
char *GetClassName() {return "vlStructuredPointSource";};
void PrintSelf(ostream& os, vlIndent indent);
void Update();
};
#endif
/*=========================================================================
Program: Visualization Library
Module: SPtsSrc.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 "SPtsSrc.hh"
void vlStructuredPointsSource::Update()
{
vlSource::Update();
}
void vlStructuredPointsSource::PrintSelf(ostream& os, vlIndent indent)
{
if (this->ShouldIPrint(vlStructuredPointsSource::GetClassName()))
{
this->PrintWatchOn(); // watch for multiple inheritance
vlStructuredPoints::PrintSelf(os,indent);
vlSource::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