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
svkGEConsolePACSInterface Class Reference

#include <svkGEConsolePACSInterface.h>

Inheritance diagram for svkGEConsolePACSInterface:
svkPACSInterface

Public Member Functions

 vtkTypeMacro (svkGEConsolePACSInterface, 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 svkGEConsolePACSInterfaceNew ()
 

Protected Member Functions

 svkGEConsolePACSInterface ()
 Constructor. More...
 
 ~svkGEConsolePACSInterface ()
 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 for GE console 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

Constructor.

References svkPACSInterface::pacsTarget.

~svkGEConsolePACSInterface ( )
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 svkGEConsolePACSInterface* 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 svkUtils::GetFilenameFromFullPath(), and svkPACSInterface::pacsTarget.

vtkTypeMacro ( svkGEConsolePACSInterface  ,
svkPACSInterface   
)

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