Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00031 #ifndef __vtkKWEVoxelAlignedImageActorPointPlacer_h
00032 #define __vtkKWEVoxelAlignedImageActorPointPlacer_h
00033
00034 #include "VTKEdgeConfigure.h"
00035 #include "vtkImageActorPointPlacer.h"
00036
00037 class VTKEdge_WIDGETS_EXPORT vtkKWEVoxelAlignedImageActorPointPlacer
00038 : public vtkImageActorPointPlacer
00039 {
00040 public:
00042 static vtkKWEVoxelAlignedImageActorPointPlacer *New();
00043
00045
00046 vtkTypeRevisionMacro(vtkKWEVoxelAlignedImageActorPointPlacer,
00047 vtkImageActorPointPlacer);
00048 void PrintSelf(ostream& os, vtkIndent indent);
00050
00052
00058 int ComputeWorldPosition( vtkRenderer *ren,
00059 double displayPos[2],
00060 double worldPos[3],
00061 double worldOrient[9] );
00063
00065
00067 int ComputeWorldPosition( vtkRenderer *ren,
00068 double displayPos[2],
00069 double refWorldPos[2],
00070 double worldPos[3],
00071 double worldOrient[9] );
00073
00077 int ValidateWorldPosition( double worldPos[3] );
00078
00080
00082 int ValidateWorldPosition( double worldPos[3],
00083 double worldOrient[9]);
00085
00086
00088
00091 int UpdateWorldPosition( vtkRenderer *ren,
00092 double worldPos[3],
00093 double worldOrient[9]);
00095
00096 protected:
00097 vtkKWEVoxelAlignedImageActorPointPlacer();
00098 ~vtkKWEVoxelAlignedImageActorPointPlacer();
00099
00100 int InternalValidateWorldPosition(double worldPos[3]);
00101
00102 private:
00103 vtkKWEVoxelAlignedImageActorPointPlacer(
00104 const vtkKWEVoxelAlignedImageActorPointPlacer&);
00105 void operator=(const vtkKWEVoxelAlignedImageActorPointPlacer&);
00106 };
00107
00108 #endif