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 #include "mitkLine.h"
00020 #include <itkProcessObject.h>
00021 #include <itkSmartPointerForwardReference.txx>
00022
00023
00024
00025 mitk::Line::Line()
00026 {
00027 m_SlicedGeometry = SlicedGeometry3D::New();
00028 SetGeometry(m_SlicedGeometry);
00029 m_SlicedGeometry->Initialize(1);
00030 }
00031
00032
00033 mitk::Line::~Line()
00034 {
00035 }
00036
00037
00038 void mitk::Line::SetGeometry2D(mitk::Geometry2D *geometry2d)
00039 {
00040 m_SlicedGeometry->SetGeometry2D(geometry2d, 0);
00041 m_Geometry2D=geometry2d;
00042 Modified();
00043 }
00044
00045
00046 void mitk::Line::UpdateOutputInformation()
00047 {
00048 SetPipelineMTime(m_Geometry2D->GetMTime());
00049 if (this->GetSource())
00050 {
00051 this->GetSource()->UpdateOutputInformation();
00052 }
00053 }
00054
00055
00056 void mitk::Line::SetRequestedRegionToLargestPossibleRegion()
00057 {
00058
00059 }
00060
00061
00062 bool mitk::Line::RequestedRegionIsOutsideOfTheBufferedRegion()
00063 {
00064 if(m_Geometry2D.IsNull()) return true;
00065
00066 return false;
00067 }
00068
00069
00070 bool mitk::Line::VerifyRequestedRegion()
00071 {
00072 if(m_Geometry2D.IsNull()) return false;
00073
00074 return true;
00075 }
00076
00077
00078 void mitk::Line::SetRequestedRegion(itk::DataObject *data)
00079 {
00080
00081 }
00082
00083
00084 void mitk::Line::CopyInformation(const itk::DataObject *data)
00085 {
00086 }
00087