91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-18
  • 語言: 其他
  • 標簽: vtk??

資源簡介

顯示四視圖,沒有體繪制,只有體切片顯示 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

資源截圖

代碼片段和文件信息

#include?“fourpanel.h“
#include?“ui_fourpanel.h“

#include?
#include?
#include?“vtkResliceImageViewer.h“
#include?“vtkResliceCursorLineRepresentation.h“
#include?“vtkResliceCursorThickLineRepresentation.h“
#include?“vtkResliceCursorWidget.h“
#include?“vtkResliceCursorActor.h“
#include?“vtkResliceCursorPolyDataAlgorithm.h“
#include?“vtkResliceCursor.h“
#include?“vtkDICOMImageReader.h“
#include?“vtkCellPicker.h“
#include?“vtkProperty.h“
#include?“vtkPlane.h“
#include?“vtkImageData.h“
#include?“vtkCommand.h“
#include?“vtkPlaneSource.h“
#include?“vtkLookupTable.h“
#include?“vtkImageMapToWindowLevelColors.h“
#include?“vtkInteractorstyleImage.h“
#include?“vtkImageSlabReslice.h“
#include?“vtkBoundedPlanePointPlacer.h“
#include?“vtkDistanceWidget.h“
#include?“vtkDistanceRepresentation.h“
#include?“vtkHandleRepresentation.h“
#include?“vtkResliceImageViewerMeasurements.h“
#include?“vtkDistanceRepresentation2D.h“
#include?“vtkPointHandleRepresentation3D.h“
#include?“vtkPointHandleRepresentation2D.h“
#include


#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

#include?“fourpanel.h“

#includeyleTrackballCamera.h>

#define?VTK_CREATE(typename)?\
????vtkSmartPointer?name?=?vtkSmartPointer::New()


class?vtkResliceCursorCallback?:?public?vtkCommand
{
public:
??static?vtkResliceCursorCallback?*New()
??{?return?new?vtkResliceCursorCallback;?}

??void?Execute(?vtkobject?*caller?unsigned?long?ev
????????????????void?*callData?)
??{

????if?(ev?==?vtkResliceCursorWidget::WindowLevelEvent?||
????????ev?==?vtkCommand::WindowLevelEvent?||
????????ev?==?vtkResliceCursorWidget::ResliceThicknessChangedEvent)
????{
??????//?Render?everything
??????for?(int?i?=?0;?i???????{
????????this->RCW[i]->Render();
??????}
??????this->IPW[0]->GetInteractor()->GetRenderWindow()->Render();
??????return;
????}

????vtkImagePlaneWidget*?ipw?=
??????dynamic_cast(?caller?);
????if?(ipw)
????{
??????double*?wl?=?static_cast(?callData?);

??????if?(?ipw?==?this->IPW[0]?)
??????{
????????this->IPW[1]->SetWindowLevel(wl[0]wl[1]1);
????????this->IPW[2]->SetWindowLevel(wl[0]wl[1]1);
??????}
??????else?if(?ipw?==?this->IPW[1]?)
??????{
????????this->IPW[0]->SetWindowLevel(wl[0]wl[1]1);
????????this->IPW[2]->SetWindowLevel(wl[0]wl[1]1);
??????}
??????else?if?(ipw?==?this->IPW[2])
??????{
????????this->IPW[0]->SetWindowLevel(wl[0]wl[1]1);
????????this->IPW[1]->SetWindowLevel(wl[0]wl[1]1);
??????}
????}

????vtkResliceCursorWidget?*rcw?=?dynamic_cast<
??????vtkResliceCursorWidget?*?>(caller);
????if?(rcw)
????{
??????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????9889??2017-11-08?13:45??fourpanel.cpp
?????文件?????????848??2017-11-06?14:59??fourpanel.h
?????文件????????1855??2017-11-01?18:29??fourpanel.ui
?????文件?????????650??2018-07-02?11:14??main.cpp
?????文件????????2568??2018-07-02?11:11??MyVTKTest.pro

評論

共有 條評論