Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Hybrid/vtkPolyDataSourceWidget.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkPolyDataSourceWidget.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00051 #ifndef __vtkPolyDataSourceWidget_h
    00052 #define __vtkPolyDataSourceWidget_h
    00053
    00054 #include "vtk3DWidget.h"
    00055
    00056 class vtkPolyDataSource;
    00057
    00058 class VTK_EXPORT vtkPolyDataSourceWidget : public vtk3DWidget
    00059 {
    00060  public:
    00061   vtkTypeRevisionMacro(vtkPolyDataSourceWidget, vtk3DWidget);
    00062   void PrintSelf(ostream& os, vtkIndent indent);
    00063
    00066   virtual void PlaceWidget();
    00067
    00072   virtual void PlaceWidget(float bounds[6]) = 0;
    00073
    00075
    00076   void PlaceWidget(float xmin, float xmax, float ymin, float ymax,
    00077                    float zmin, float zmax)
    00078     {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
    00080
    00087   virtual vtkPolyDataSource* GetPolyDataSource() = 0;
    00088
    00092   virtual void UpdatePlacement() = 0;
    00093
    00094 protected:
    00097   vtkPolyDataSourceWidget();
    00098
    00099 private:
    00100   // this copy constructor and assignment operator are deliberately not
    00101   // implemented so that any "accidental" invocation of a copy (pass by value)
    00102   // or assignment will trigger linker errors; the class is not meant to
    00103   // be used in these ways.  I couldn't resist adding this explanation. :)
    00104   vtkPolyDataSourceWidget(const vtkPolyDataSourceWidget&);  // Not implemented.
    00105   void operator=(const vtkPolyDataSourceWidget&);  // Not implemented.
    00106 };
    00107
    00108 #endif