SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkUCSFPACSInterface Class Reference

#include <svkUCSFPACSInterface.h>

Inheritance diagram for svkUCSFPACSInterface:
svkPACSInterface

Public Member Functions

 vtkTypeMacro (svkUCSFPACSInterface, svkPACSInterface)
 
bool Connect ()
 
bool SendImagesToPACS (string sourceDirectory, svkTypes::AnatomyType anatomyType)
 
bool Disconnect ()
 Close the PACS connection. Returns true if the connection closes cleanly. More...
 
- Public Member Functions inherited from svkPACSInterface
 vtkTypeMacro (svkPACSInterface, vtkObject)
 
virtual string GetPACSTargetString ()
 Get a string representation of the PACS connection. More...
 
virtual void SetPACSTargetString (string pacsTarget)
 Set the string representation of the PACS connection. More...
 

Static Public Member Functions

static svkUCSFPACSInterfaceNew ()
 

Protected Member Functions

 svkUCSFPACSInterface ()
 Constructor. More...
 
 ~svkUCSFPACSInterface ()
 Destructor. More...
 
- Protected Member Functions inherited from svkPACSInterface
 svkPACSInterface ()
 Constructor. More...
 
 ~svkPACSInterface ()
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from svkPACSInterface
string pacsTarget
 

Detailed Description

This is current for UCSF only. This method will do the following...

  1. Create a temporary directary in the pacsDirectory below.
  2. Verify that it can write to this path.
  3. Copy all images to the PACS temporary directory.
  4. Reidentify these images in the temporary directory.
  5. Move the images to the PACS directory.
  6. Delete the temporary PACS directory.

Constructor & Destructor Documentation

svkUCSFPACSInterface ( )
protected

Constructor.

References svkPACSInterface::pacsTarget.

~svkUCSFPACSInterface ( )
protected

Destructor.

Member Function Documentation

bool Connect ( )
virtual

To prepare to send to PACS we will create the temp directory and make sure we can write to it.

Returns
was the preparation successful

Implements svkPACSInterface.

References svkUtils::CanWriteToPath(), and svkPACSInterface::pacsTarget.

bool Disconnect ( )
virtual

Close the PACS connection. Returns true if the connection closes cleanly.

Implements svkPACSInterface.

static svkUCSFPACSInterface* New ( )
static
bool SendImagesToPACS ( string  sourceDirectory,
svkTypes::AnatomyType  anatomyType 
)
virtual

Sends deidentified images to PACS (they become reidentified in transit)

Parameters
sourceDirectorya string containing the source directory.
Returns
true of the copy succeeds, otherwise false.

If this is for the Brain group, reidentify images using BRAIN DB (type 0). For prostate (type 1), images are aleady identified.

Implements svkPACSInterface.

References svkTypes::ANATOMY_PROSTATE, and svkPACSInterface::pacsTarget.

vtkTypeMacro ( svkUCSFPACSInterface  ,
svkPACSInterface   
)

The documentation for this class was generated from the following files: