Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Rendering/vtkVolumeProVG500Mapper.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00064 #ifndef __vtkVolumeProVG500Mapper_h
00065 #define __vtkVolumeProVG500Mapper_h
00066
00067 #include "vtkVolumeProMapper.h"
00068
00069 #ifdef _WIN32
00070
00071
00072
00073
00074 # if ( defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(_INC_IOSTREAM) )
00075 # define _INC_IOSTREAM
00076 # define _VTK_HACKED_UP_INCLUDE_BLOCKER
00077 # endif
00078 # include "VolumePro/inc/vli.h"
00079 # if defined(_VTK_HACKED_UP_INCLUDE_BLOCKER)
00080 # undef _INC_IOSTREAM
00081 # undef _VTK_HACKED_UP_INCLUDE_BLOCKER
00082 # endif
00083 #else
00084 # include "vli/include/vli.h"
00085 #endif
00086
00087 #ifdef VTK_USE_VOLUMEPRO
00088 #define VTK_VOLUMEPRO_EXPORT VTK_RENDERING_EXPORT
00089 #else
00090 #define VTK_VOLUMEPRO_EXPORT
00091 #endif
00092
00093 class VTK_VOLUMEPRO_EXPORT vtkVolumeProVG500Mapper : public vtkVolumeProMapper
00094 {
00095 public:
00096 vtkTypeRevisionMacro(vtkVolumeProVG500Mapper,vtkVolumeProMapper);
00097 static vtkVolumeProVG500Mapper *New();
00098 virtual void PrintSelf(ostream& os, vtkIndent indent);
00099
00101
00102 virtual void Render( vtkRenderer *, vtkVolume * );
00103 virtual int GetAvailableBoardMemory();
00104 virtual void GetLockSizesForBoardMemory( unsigned int type,
00105 unsigned int *xSize,
00106 unsigned int *ySize,
00107 unsigned int *zSize );
00109 protected:
00110 vtkVolumeProVG500Mapper();
00111 ~vtkVolumeProVG500Mapper();
00112
00113
00114 void UpdateCamera( vtkRenderer *, vtkVolume * );
00115
00116
00117 void UpdateLights( vtkRenderer *, vtkVolume * );
00118
00119
00120
00121 void UpdateProperties( vtkRenderer *, vtkVolume * );
00122
00123
00124
00125 void UpdateVolume( vtkRenderer *, vtkVolume * );
00126
00127
00128 void UpdateCropping( vtkRenderer *, vtkVolume * );
00129
00130
00131 void UpdateCursor( vtkRenderer *, vtkVolume * );
00132
00133
00134 void UpdateCutPlane( vtkRenderer *, vtkVolume * );
00135
00136
00137
00138 virtual void RenderHexagon( vtkRenderer * vtkNotUsed(ren),
00139 vtkVolume * vtkNotUsed(vol),
00140 VLIPixel * vtkNotUsed(basePlane),
00141 int size[2],
00142 VLIVector3D hexagon[6],
00143 VLIVector2D textureCoords[6] )
00144 {(void)size; (void)hexagon; (void)textureCoords;}
00145
00146
00147 void CorrectBasePlaneSize( VLIPixel *inBase, int inSize[2],
00148 VLIPixel **outBase, int outSize[2],
00149 VLIVector2D textureCoords[6] );
00150
00151
00152
00153
00154 int LoadedDataSize[3];
00155
00156 private:
00157 vtkVolumeProVG500Mapper(const vtkVolumeProVG500Mapper&);
00158 void operator=(const vtkVolumeProVG500Mapper&);
00159 };
00160
00161
00162
00163 #endif
00164
00165
00166