コード例 #1
0
        public new vtkAbstractParticleWriter NewInstance()
        {
            vtkAbstractParticleWriter result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractParticleWriter.vtkAbstractParticleWriter_NewInstance_08(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkAbstractParticleWriter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
コード例 #2
0
        public virtual vtkAbstractParticleWriter GetParticleWriter()
        {
            vtkAbstractParticleWriter vtkAbstractParticleWriter = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkTemporalStreamTracer.vtkTemporalStreamTracer_GetParticleWriter_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractParticleWriter = (vtkAbstractParticleWriter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractParticleWriter.Register(null);
                }
            }
            return(vtkAbstractParticleWriter);
        }
コード例 #3
0
        public new static vtkAbstractParticleWriter SafeDownCast(vtkObjectBase o)
        {
            vtkAbstractParticleWriter vtkAbstractParticleWriter = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkAbstractParticleWriter.vtkAbstractParticleWriter_SafeDownCast_09((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkAbstractParticleWriter = (vtkAbstractParticleWriter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkAbstractParticleWriter.Register(null);
                }
            }
            return(vtkAbstractParticleWriter);
        }
コード例 #4
0
 public virtual void SetParticleWriter(vtkAbstractParticleWriter pw)
 {
     vtkTemporalStreamTracer.vtkTemporalStreamTracer_SetParticleWriter_29(base.GetCppThis(), (pw == null) ? default(HandleRef) : pw.GetCppThis());
 }