资源简介

这个是我系统的缘分代码,肯定还有很多地方不够完善,希望大家不吝赐教!!

资源截图

代码片段和文件信息

#include “CpipelineBMPReader.h“
#include 
#include 
#include 
#include 
#include 

CpipelineBMPReader::CpipelineBMPReader(void)
{
this->reader=vtkBMPReader::New();
this->mapper=vtkImageMapper::New();
actor2d=vtkActor2D::New();

}

CpipelineBMPReader::~CpipelineBMPReader(void)
{
this->reader->Delete();

this->mapper->Delete();
this->actor2d->Delete();


}
vtkDataobject* CpipelineBMPReader::GetOutput()
{
return (vtkDataobject*)reader->GetOutput();
}
void CpipelineBMPReader::SetInputRender(vtkRenderer* renvtkDataobject* input)
{
this->reader->SetFileName(this->m_pipelineName.toAscii());

this->mapper->SetInput((vtkImageData *)reader->GetOutput());

this->actor2d->SetMapper((vtkImageMapper*)this->mapper);

ren->AddActor(this->actor2d);
}
void CpipelineBMPReader::removeActor(vtkRenderer* ren)
{
ren->RemoveActor2D(this->actor2d);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件         30  2008-06-20 21:30  代码\build.bat

     文件        974  2008-06-25 12:26  代码\CpipelineBMPReader.cpp

     文件        473  2008-06-25 11:45  代码\CpipelineBMPReader.h

     文件        829  2008-06-24 20:21  代码\CpipelineBox.cpp

     文件        398  2008-06-24 20:21  代码\CpipelineBox.h

     文件        947  2008-06-25 10:23  代码\CpipelineClip.cpp

     文件        424  2008-06-25 10:25  代码\CpipelineClip.h

     文件        838  2008-06-24 20:36  代码\CpipelineCone.cpp

     文件        396  2008-06-24 20:31  代码\CpipelineCone.h

     文件        874  2008-06-24 20:36  代码\CpipelineCylinder.cpp

     文件        416  2008-06-24 20:31  代码\CpipelineCylinder.h

     文件        844  2008-06-25 16:44  代码\CpipelineExtractVOI.cpp

     文件        426  2008-06-25 16:41  代码\CpipelineExtractVOI.h

     文件        847  2008-06-24 20:36  代码\CpipelinePlane.cpp

     文件        401  2008-06-24 20:31  代码\CpipelinePlane.h

     文件        856  2008-06-24 20:36  代码\CpipelineSphere.cpp

     文件        406  2008-06-24 20:31  代码\CpipelineSphere.h

     文件        887  2008-06-25 10:12  代码\CpipelineVTKReader.cpp

     文件        454  2008-06-25 10:12  代码\CpipelineVTKReader.h

     文件        622  2008-06-21 10:09  代码\Infomation.ui

     文件       1257  2008-06-23 08:59  代码\main.cpp

     文件      14888  2008-06-25 16:42  代码\mainwindow.cpp

     文件       2301  2008-06-25 13:42  代码\mainwindow.h

     文件         86  2008-06-23 09:50  代码\mainwindow.qrc

     文件        156  2008-06-21 10:58  代码\panelobject.cpp

     文件        284  2008-06-21 10:58  代码\panelobject.h

     文件       1332  2008-06-21 12:03  代码\panelobject.ui

     文件        166  2008-06-23 08:50  代码\panelPipeline.cpp

     文件        300  2008-06-23 08:49  代码\panelPipeline.h

     文件      38701  2008-06-25 16:03  代码\panelPipeline.ui

............此处省略13个文件信息

评论

共有 条评论