コード例 #1
0
ファイル: vtkProp.cs プロジェクト: Monkeybin11/Kitware.VTK
        public new vtkProp NewInstance()
        {
            vtkProp result      = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkProp.vtkProp_NewInstance_32(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkProp)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
		public virtual vtkProp GetOrientationMarker()
		{
			vtkProp vtkProp = null;
			uint mteStatus = 0u;
			uint mteIndex = 4294967295u;
			uint rawRefCount = 0u;
			IntPtr intPtr = vtkOrientationMarkerWidget.vtkOrientationMarkerWidget_GetOrientationMarker_03(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);
			if (IntPtr.Zero != intPtr)
			{
				bool flag;
				vtkProp = (vtkProp)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
				if (flag)
				{
					vtkProp.Register(null);
				}
			}
			return vtkProp;
		}
コード例 #3
0
        public vtkProp GetViewProp(IntPtr displayPos)
        {
            vtkProp vtkProp     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkScenePicker.vtkScenePicker_GetViewProp_07(base.GetCppThis(), displayPos, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProp = (vtkProp)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProp.Register(null);
                }
            }
            return(vtkProp);
        }
コード例 #4
0
        public virtual vtkProp GetSelectedProp()
        {
            vtkProp vtkProp     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkSelectionNode.vtkSelectionNode_GetSelectedProp_13(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProp = (vtkProp)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProp.Register(null);
                }
            }
            return(vtkProp);
        }
コード例 #5
0
ファイル: vtkProp.cs プロジェクト: Monkeybin11/Kitware.VTK
        public new static vtkProp SafeDownCast(vtkObjectBase o)
        {
            vtkProp vtkProp     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkProp.vtkProp_SafeDownCast_48((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProp = (vtkProp)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProp.Register(null);
                }
            }
            return(vtkProp);
        }
コード例 #6
0
        public vtkProp GetActorFromId(long id)
        {
            vtkProp vtkProp     = null;
            uint    mteStatus   = 0u;
            uint    mteIndex    = 4294967295u;
            uint    rawRefCount = 0u;
            IntPtr  intPtr      = vtkVisibleCellSelector.vtkVisibleCellSelector_GetActorFromId_01(base.GetCppThis(), id, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkProp = (vtkProp)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkProp.Register(null);
                }
            }
            return(vtkProp);
        }
コード例 #7
0
        public vtkImageData GetBalloonImage(vtkProp prop)
        {
            vtkImageData vtkImageData = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkBalloonWidget.vtkBalloonWidget_GetBalloonImage_04(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImageData = (vtkImageData)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImageData.Register(null);
                }
            }
            return(vtkImageData);
        }
コード例 #8
0
 public void SetViewProp(vtkProp prop)
 {
     vtkImageTracerWidget.vtkImageTracerWidget_SetViewProp_68(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #9
0
		public virtual void SetOrientationMarker(vtkProp prop)
		{
			vtkOrientationMarkerWidget.vtkOrientationMarkerWidget_SetOrientationMarker_18(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
		}
コード例 #10
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkTexturedButtonRepresentation.vtkTexturedButtonRepresentation_ShallowCopy_32(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #11
0
 public virtual void SetViewProp(vtkProp prop)
 {
     vtkAssemblyNode.vtkAssemblyNode_SetViewProp_10(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #12
0
 public virtual void DeepCopy(vtkProp prop)
 {
     vtkHandleRepresentation.vtkHandleRepresentation_DeepCopy_06(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #13
0
 public void AddPart(vtkProp arg0)
 {
     vtkPropAssembly.vtkPropAssembly_AddPart_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
コード例 #14
0
 public void RemovePart(vtkProp arg0)
 {
     vtkPropAssembly.vtkPropAssembly_RemovePart_15(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
コード例 #15
0
 public override void DeepCopy(vtkProp prop)
 {
     vtkPointHandleRepresentation2D.vtkPointHandleRepresentation2D_DeepCopy_03(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #16
0
 public void GetPixelSelection(IntPtr displayPos, ref long procId, ref long cellId, ref long vertId, vtkProp actorPtr)
 {
     vtkVisibleCellSelector.vtkVisibleCellSelector_GetPixelSelection_03(base.GetCppThis(), displayPos, ref procId, ref cellId, ref vertId, (actorPtr == null) ? default(HandleRef) : actorPtr.GetCppThis());
 }
コード例 #17
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkConstrainedPointHandleRepresentation.vtkConstrainedPointHandleRepresentation_ShallowCopy_47(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
 public override void DeepCopy(vtkProp prop)
 {
     vtkAbstractPolygonalHandleRepresentation3D.vtkAbstractPolygonalHandleRepresentation3D_DeepCopy_03(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #19
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkLODProp3D.vtkLODProp3D_ShallowCopy_62(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #20
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkFollower.vtkFollower_ShallowCopy_14(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #21
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkPointHandleRepresentation3D.vtkPointHandleRepresentation3D_ShallowCopy_41(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #22
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkActor2D.vtkActor2D_ShallowCopy_34(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #23
0
 public override void ShallowCopy(vtkProp Prop)
 {
     vtkPropAssembly.vtkPropAssembly_ShallowCopy_21(base.GetCppThis(), (Prop == null) ? default(HandleRef) : Prop.GetCppThis());
 }
コード例 #24
0
ファイル: vtkProp.cs プロジェクト: Monkeybin11/Kitware.VTK
 public virtual void ShallowCopy(vtkProp prop)
 {
     vtkProp.vtkProp_ShallowCopy_57(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #25
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkLegendBoxActor.vtkLegendBoxActor_ShallowCopy_59(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #26
0
 public virtual void AddProp(vtkProp arg0)
 {
     vtkTerrainDataPointPlacer.vtkTerrainDataPointPlacer_AddProp_01(base.GetCppThis(), (arg0 == null) ? default(HandleRef) : arg0.GetCppThis());
 }
コード例 #27
0
 public override void ShallowCopy(vtkProp prop)
 {
     vtkScalarBarActor.vtkScalarBarActor_ShallowCopy_52(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }
コード例 #28
0
 public bool GetPixelInformation(IntPtr display_position, ref int processId, ref long attrId, vtkProp prop, int maxDist)
 {
     return(vtkHardwareSelector.vtkHardwareSelector_GetPixelInformation_14(base.GetCppThis(), display_position, ref processId, ref attrId, (prop == null) ? default(HandleRef) : prop.GetCppThis(), maxDist) != 0);
 }
コード例 #29
0
 public void AddNode(vtkProp p, vtkMatrix4x4 m)
 {
     vtkAssemblyPath.vtkAssemblyPath_AddNode_01(base.GetCppThis(), (p == null) ? default(HandleRef) : p.GetCppThis(), (m == null) ? default(HandleRef) : m.GetCppThis());
 }
コード例 #30
0
 public virtual void SetSelectedProp(vtkProp prop)
 {
     vtkSelectionNode.vtkSelectionNode_SetSelectedProp_34(base.GetCppThis(), (prop == null) ? default(HandleRef) : prop.GetCppThis());
 }