vtk-dicom  0.8.14
Classes | Static Public Member Functions | Friends | List of all members
vtkDICOMDictionary Class Reference

Provide access to the DICOM tag dictionary. More...

#include <vtkDICOMDictionary.h>

Classes

struct  Dict
 A struct to store a DICOM dictionary hash table. More...
 

Static Public Member Functions

static vtkDICOMDictEntry FindDictEntry (const vtkDICOMTag tag)
 Find the dictionary entry for the given tag.
 
static vtkDICOMDictEntry FindDictEntry (const char *key)
 Find the dictionary for the given key.
 
static vtkDICOMDictEntry FindDictEntry (const vtkDICOMTag tag, const char *privateDict)
 Include a private dictionary when searching for the tag. More...
 
static vtkDICOMDictEntry FindDictEntry (const char *key, const char *privateDict)
 Search for a private dictionary entry by key. More...
 
static void AddPrivateDictionary (Dict *dict)
 Add the hash table for a private dictionary. More...
 
static void RemovePrivateDictionary (const char *name)
 Remove a private dictionary.
 

Friends

class vtkDICOMDictionaryInitializer
 

Detailed Description

Provide access to the DICOM tag dictionary.

Member Function Documentation

◆ AddPrivateDictionary()

static void vtkDICOMDictionary::AddPrivateDictionary ( Dict dict)
static

Add the hash table for a private dictionary.

The name should be the text that appears in the PrivateCreator element of the data set when this dictionary is used. The value of "n" is the size of the provided hash table.

◆ FindDictEntry() [1/2]

static vtkDICOMDictEntry vtkDICOMDictionary::FindDictEntry ( const char *  key,
const char *  privateDict 
)
static

Search for a private dictionary entry by key.

Warning: not all private dictionaries have normatively defined keys associated with the tags they use. Even for those that do, the keys used by this library might not be accurate because it relies on information collected from third parties.

◆ FindDictEntry() [2/2]

static vtkDICOMDictEntry vtkDICOMDictionary::FindDictEntry ( const vtkDICOMTag  tag,
const char *  privateDict 
)
static

Include a private dictionary when searching for the tag.

This method requires that the creator of the private dictionary be given as it appears in the creator tag. This method is usually not called directly, it is best to call vtkDICOMMetaData's FindDictEntry method because it can automatically identify the creator of any private tags that are present in the metadata.


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