Ejemplo n.º 1
0
        public new static vtkTransform2D New()
        {
            vtkTransform2D result      = null;
            uint           mteStatus   = 0u;
            uint           mteIndex    = 4294967295u;
            uint           rawRefCount = 0u;
            IntPtr         intPtr      = vtkTransform2D.vtkTransform2D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkTransform2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public vtkTransform2D GetTransform()
        {
            vtkTransform2D vtkTransform2D = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkContext2D.vtkContext2D_GetTransform_50(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTransform2D = (vtkTransform2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTransform2D.Register(null);
                }
            }
            return(vtkTransform2D);
        }
Ejemplo n.º 3
0
        public new static vtkTransform2D SafeDownCast(vtkObjectBase o)
        {
            vtkTransform2D vtkTransform2D = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkTransform2D.vtkTransform2D_SafeDownCast_17((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTransform2D = (vtkTransform2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTransform2D.Register(null);
                }
            }
            return(vtkTransform2D);
        }
Ejemplo n.º 4
0
 public void SetTransform(vtkTransform2D transform)
 {
     vtkContext2D.vtkContext2D_SetTransform_58(base.GetCppThis(), (transform == null) ? default(HandleRef) : transform.GetCppThis());
 }
Ejemplo n.º 5
0
 public void AppendTransform(vtkTransform2D transform)
 {
     vtkContext2D.vtkContext2D_AppendTransform_01(base.GetCppThis(), (transform == null) ? default(HandleRef) : transform.GetCppThis());
 }
Ejemplo n.º 6
0
 public virtual void SetTransform(vtkTransform2D transform)
 {
     vtkContextScene.vtkContextScene_SetTransform_35(base.GetCppThis(), (transform == null) ? default(HandleRef) : transform.GetCppThis());
 }