Commit 071492b9 authored by Will Schroeder's avatar Will Schroeder
Browse files

Initial revision

parent 5a65885a
/*=========================================================================
Program: Visualization Library
Module: SGOutlF.hh
Language: C++
Date: $Date$
Version: $Revision$
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 vlStructuredOutlineFilter - create wireframe outline for structured data
// .SECTION Description
// vlStructuredOutlineFilter is a filter that generates a wireframe outline of
// structured (i.e., topologically regular) data. Structured data is
// topologically a cube, so the outline will have 12 "edges".
#ifndef __vlStructuredOutlineFilter_h
#define __vlStructuredOutlineFilter_h
#include "SD2PolyF.hh"
class vlStructuredOutlineFilter : public vlStructuredDataSetToPolyFilter
{
public:
vlStructuredOutlineFilter() {};
~vlStructuredOutlineFilter() {};
char *GetClassName() {return "vlStructuredOutlineFilter";};
protected:
void Execute();
};
#endif
/*=========================================================================
Program: Visualization Library
Module: SGOutlF.cc
Language: C++
Date: $Date$
Version: $Revision$
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 "StrOutlF.hh"
void vlStructuredOutlineFilter::Execute()
{
vlFloatPoints *newPts;
vlCellArray *newLines;
vlDebugMacro(<< "Creating structured outline");
this->Initialize();
//
// Update selves
//
this->SetPoints(newPts);
this->SetLines(newLines);
}
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