C# Class Dicom.Network.DcmAssociate

Mostra file Open project: fo-dicom/mdcm Class Usage Examples

Public Methods

Method Description
AddOrGetPresentationContext ( DicomUID abstractSyntax ) : byte
AddPresentationContext ( DicomUID abstractSyntax ) : byte

Adds a Presentation Context to the DICOM Associate.

AddPresentationContext ( byte pcid, DicomUID abstractSyntax ) : void

Adds a Presentation Context to the DICOM Associate.

AddPresentationContext ( byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result ) : void
AddTransferSyntax ( byte pcid, DicomTransferSyntax ts ) : void

Adds a Transfer Syntax to the specified Presentation Context.

DcmAssociate ( ) : System
FindAbstractSyntax ( DicomUID abstractSyntax ) : byte

Finds the Presentation Context with the specified Abstract Syntax.

FindAbstractSyntaxWithTransferSyntax ( DicomUID abstractSyntax, DicomTransferSyntax trasferSyntax ) : byte

Finds the Presentation Context with the specified Abstract Syntax and Transfer Syntax.

FindAcceptedAbstractSyntaxWithTransferSyntax ( DicomUID abstractSyntax, DicomTransferSyntax trasferSyntax ) : byte

Finds the Presentation Context with the specified Abstract Syntax and Transfer Syntax.

GetAbstractSyntax ( byte pcid ) : DicomUID

Gets the Abstract Syntax for the specified Presentation Context.

GetAcceptedTransferSyntax ( byte pcid ) : DicomTransferSyntax

Gets the accepted Transfer Syntax for the specified Presentation Context.

GetPresentationContext ( byte pcid ) : DcmPresContext
GetPresentationContextIDs ( ) : IList

Gets a list of the Presentation Context IDs in the DICOM Associate.

GetPresentationContextResult ( byte pcid ) : DcmPresContextResult

Gets the result of the specified Presentation Context.

GetPresentationContexts ( ) : IList
GetTransferSyntax ( byte pcid, int index ) : DicomTransferSyntax

Gets the Transfer Syntax at the specified index.

GetTransferSyntaxCount ( byte pcid ) : int

Gets the number of Transfer Syntaxes in the specified Presentation Context.

HasPresentationContextID ( byte pcid ) : bool

Determines if the specified Presentation Context ID exists.

RemoveTransferSyntax ( byte pcid, DicomTransferSyntax ts ) : void

Removes a Transfer Syntax from the specified Presentation Context.

SetAcceptedTransferSyntax ( byte pcid, DicomTransferSyntax ts ) : void
SetAcceptedTransferSyntax ( byte pcid, int index ) : void
SetPresentationContextResult ( byte pcid, DcmPresContextResult result ) : void

Sets the result of the specified Presentation Context.

ToString ( ) : string

Method Details

AddOrGetPresentationContext() public method

public AddOrGetPresentationContext ( DicomUID abstractSyntax ) : byte
abstractSyntax Dicom.Data.DicomUID
return byte

AddPresentationContext() public method

Adds a Presentation Context to the DICOM Associate.
public AddPresentationContext ( DicomUID abstractSyntax ) : byte
abstractSyntax Dicom.Data.DicomUID
return byte

AddPresentationContext() public method

Adds a Presentation Context to the DICOM Associate.
public AddPresentationContext ( byte pcid, DicomUID abstractSyntax ) : void
pcid byte
abstractSyntax Dicom.Data.DicomUID
return void

AddPresentationContext() public method

public AddPresentationContext ( byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result ) : void
pcid byte
abstractSyntax Dicom.Data.DicomUID
transferSyntax Dicom.Data.DicomTransferSyntax
result DcmPresContextResult
return void

AddTransferSyntax() public method

Adds a Transfer Syntax to the specified Presentation Context.
public AddTransferSyntax ( byte pcid, DicomTransferSyntax ts ) : void
pcid byte Presentation Context ID
ts Dicom.Data.DicomTransferSyntax Transfer Syntax
return void

DcmAssociate() public method

public DcmAssociate ( ) : System
return System

FindAbstractSyntax() public method

Finds the Presentation Context with the specified Abstract Syntax.
public FindAbstractSyntax ( DicomUID abstractSyntax ) : byte
abstractSyntax Dicom.Data.DicomUID Abstract Syntax
return byte

FindAbstractSyntaxWithTransferSyntax() public method

Finds the Presentation Context with the specified Abstract Syntax and Transfer Syntax.
public FindAbstractSyntaxWithTransferSyntax ( DicomUID abstractSyntax, DicomTransferSyntax trasferSyntax ) : byte
abstractSyntax Dicom.Data.DicomUID Abstract Syntax
trasferSyntax Dicom.Data.DicomTransferSyntax
return byte

FindAcceptedAbstractSyntaxWithTransferSyntax() public method

Finds the Presentation Context with the specified Abstract Syntax and Transfer Syntax.
public FindAcceptedAbstractSyntaxWithTransferSyntax ( DicomUID abstractSyntax, DicomTransferSyntax trasferSyntax ) : byte
abstractSyntax Dicom.Data.DicomUID Abstract Syntax
trasferSyntax Dicom.Data.DicomTransferSyntax
return byte

GetAbstractSyntax() public method

Gets the Abstract Syntax for the specified Presentation Context.
public GetAbstractSyntax ( byte pcid ) : DicomUID
pcid byte Presentation Context ID
return Dicom.Data.DicomUID

GetAcceptedTransferSyntax() public method

Gets the accepted Transfer Syntax for the specified Presentation Context.
public GetAcceptedTransferSyntax ( byte pcid ) : DicomTransferSyntax
pcid byte Presentation Context ID
return Dicom.Data.DicomTransferSyntax

GetPresentationContext() public method

public GetPresentationContext ( byte pcid ) : DcmPresContext
pcid byte
return DcmPresContext

GetPresentationContextIDs() public method

Gets a list of the Presentation Context IDs in the DICOM Associate.
public GetPresentationContextIDs ( ) : IList
return IList

GetPresentationContextResult() public method

Gets the result of the specified Presentation Context.
public GetPresentationContextResult ( byte pcid ) : DcmPresContextResult
pcid byte Presentation Context ID
return DcmPresContextResult

GetPresentationContexts() public method

public GetPresentationContexts ( ) : IList
return IList

GetTransferSyntax() public method

Gets the Transfer Syntax at the specified index.
public GetTransferSyntax ( byte pcid, int index ) : DicomTransferSyntax
pcid byte Presentation Context ID
index int Index of Transfer Syntax
return Dicom.Data.DicomTransferSyntax

GetTransferSyntaxCount() public method

Gets the number of Transfer Syntaxes in the specified Presentation Context.
public GetTransferSyntaxCount ( byte pcid ) : int
pcid byte Presentation Context ID
return int

HasPresentationContextID() public method

Determines if the specified Presentation Context ID exists.
public HasPresentationContextID ( byte pcid ) : bool
pcid byte Presentation Context ID
return bool

RemoveTransferSyntax() public method

Removes a Transfer Syntax from the specified Presentation Context.
public RemoveTransferSyntax ( byte pcid, DicomTransferSyntax ts ) : void
pcid byte Presentation Context ID
ts Dicom.Data.DicomTransferSyntax Transfer Syntax
return void

SetAcceptedTransferSyntax() public method

public SetAcceptedTransferSyntax ( byte pcid, DicomTransferSyntax ts ) : void
pcid byte
ts Dicom.Data.DicomTransferSyntax
return void

SetAcceptedTransferSyntax() public method

public SetAcceptedTransferSyntax ( byte pcid, int index ) : void
pcid byte
index int
return void

SetPresentationContextResult() public method

Sets the result of the specified Presentation Context.
public SetPresentationContextResult ( byte pcid, DcmPresContextResult result ) : void
pcid byte Presentation Context ID
result DcmPresContextResult Result
return void

ToString() public method

public ToString ( ) : string
return string