Graphics/vtkTextureMapToPlane.h Source File

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

# Graphics/vtkTextureMapToPlane.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkTextureMapToPlane.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 =========================================================================*/
    00060 #ifndef __vtkTextureMapToPlane_h
    00061 #define __vtkTextureMapToPlane_h
    00062
    00063 #include "vtkDataSetToDataSetFilter.h"
    00064
    00065 class VTK_GRAPHICS_EXPORT vtkTextureMapToPlane : public vtkDataSetToDataSetFilter
    00066 {
    00067 public:
    00068   vtkTypeRevisionMacro(vtkTextureMapToPlane,vtkDataSetToDataSetFilter);
    00069   void PrintSelf(ostream& os, vtkIndent indent);
    00070
    00073   static vtkTextureMapToPlane *New();
    00074
    00076
    00078   vtkSetVector3Macro(Origin,float);
    00079   vtkGetVectorMacro(Origin,float,3);
    00081
    00083
    00084   vtkSetVector3Macro(Point1,float);
    00085   vtkGetVectorMacro(Point1,float,3);
    00087
    00089
    00090   vtkSetVector3Macro(Point2,float);
    00091   vtkGetVectorMacro(Point2,float,3);
    00093
    00095
    00098   vtkSetVector3Macro(Normal,float);
    00099   vtkGetVectorMacro(Normal,float,3);
    00101
    00103
    00104   vtkSetVector2Macro(SRange,float);
    00105   vtkGetVectorMacro(SRange,float,2);
    00107
    00109
    00110   vtkSetVector2Macro(TRange,float);
    00111   vtkGetVectorMacro(TRange,float,2);
    00113
    00115
    00116   vtkSetMacro(AutomaticPlaneGeneration,int);
    00117   vtkGetMacro(AutomaticPlaneGeneration,int);
    00118   vtkBooleanMacro(AutomaticPlaneGeneration,int);
    00120
    00121 protected:
    00122   vtkTextureMapToPlane();
    00123   ~vtkTextureMapToPlane() {};
    00124
    00125   void Execute();
    00126   void ComputeNormal();
    00127
    00128   float Origin[3];
    00129   float Point1[3];
    00130   float Point2[3];
    00131   float Normal[3];
    00132   float SRange[2];
    00133   float TRange[2];
    00134   int AutomaticPlaneGeneration;
    00135
    00136 private:
    00137   vtkTextureMapToPlane(const vtkTextureMapToPlane&);  // Not implemented.
    00138   void operator=(const vtkTextureMapToPlane&);  // Not implemented.
    00139 };
    00140
    00141 #endif