#include <vtkImageGraph.h>
Public Member Functions | |
| int | AddCurveRegion (vtkImageData *plot, vtkFloatingPointType color0, vtkFloatingPointType color1, vtkFloatingPointType color2, int type, int ignore) |
| void | ChangeColorOfIndirectLookupTable (vtkIndirectLookupTable *Table, vtkFloatingPointType SatMin, vtkFloatingPointType SatMax, vtkFloatingPointType ValMin, vtkFloatingPointType ValMax, vtkFloatingPointType HueMin, vtkFloatingPointType HueMax) |
| vtkLookupTable * | CreateLookupTable (vtkFloatingPointType SatMin, vtkFloatingPointType SatMax, vtkFloatingPointType ValMin, vtkFloatingPointType ValMax, vtkFloatingPointType HueMin, vtkFloatingPointType HueMax) |
| vtkIndirectLookupTable * | CreateUniformIndirectLookupTable () |
| int | DeleteCurveRegion (int id) |
| vtkFloatingPointType * | GetColor (vtkImageData *plot) |
| GraphEntryList * | GetGraphList () |
| int | GetIgnoreGraphMinGraphMax (vtkImageData *plot) |
| unsigned long | GetMTime () |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | SetColor (vtkImageData *plot, vtkFloatingPointType color0, vtkFloatingPointType color1, vtkFloatingPointType color2) |
| void | SetIgnoreGraphMinGraphMax (vtkImageData *plot, int flag) |
| virtual void | SetLookupTable (vtkScalarsToColors *) |
| vtkGetMacro (CurveThickness, int) | |
| vtkGetMacro (GraphMin, vtkFloatingPointType) | |
| vtkGetMacro (GraphMax, vtkFloatingPointType) | |
| vtkGetMacro (Ylength, int) | |
| vtkGetMacro (Xlength, int) | |
| vtkGetMacro (Dimension, int) | |
| vtkGetObjectMacro (LookupTable, vtkScalarsToColors) | |
| vtkGetVector2Macro (DataBackRange, int) | |
| vtkSetMacro (CurveThickness, int) | |
| vtkSetMacro (Ylength, int) | |
| vtkSetMacro (Xlength, int) | |
| vtkSetMacro (Dimension, int) | |
| vtkSetVector2Macro (DataBackRange, int) | |
| vtkTypeMacro (vtkImageGraph, vtkImageSource) | |
Static Public Member Functions | |
| static vtkImageGraph * | New () |
Protected Member Functions | |
| void | CalculateGraphMinGraphMax (vtkFloatingPointType *CurveRegionMin, vtkFloatingPointType *CurveRegionMax) |
| void | DeleteVariables () |
| void | Draw1DGraph (vtkImageData *data) |
| void | Draw2DGraph (vtkImageData *data, int NumRegion, vtkFloatingPointType *CurveRegionMin, vtkFloatingPointType *CurveRegionMax) |
| void | DrawBackground (unsigned char *outPtr, int outIncY) |
| virtual void | ExecuteData (vtkDataObject *data) |
| virtual void | ExecuteInformation () |
| vtkImageGraph () | |
| ~vtkImageGraph () | |
Protected Attributes | |
| int | CurveThickness |
| int | DataBackRange [2] |
| int | Dimension |
| GraphEntryList | GraphList |
| vtkFloatingPointType | GraphMax |
| vtkFloatingPointType | GraphMin |
| vtkScalarsToColors * | LookupTable |
| int | Xlength |
| int | Ylength |
Private Member Functions | |
| void | operator= (const vtkImageGraph &) |
| vtkImageGraph (const vtkImageGraph &) | |
| vtkImageGraph::vtkImageGraph | ( | ) | [protected] |
References CurveThickness, DataBackRange, Dimension, GraphMax, GraphMin, LookupTable, Xlength, and Ylength.
| vtkImageGraph::~vtkImageGraph | ( | ) | [inline, protected] |
| vtkImageGraph::vtkImageGraph | ( | const vtkImageGraph & | ) | [private] |
| int vtkImageGraph::AddCurveRegion | ( | vtkImageData * | plot, | |
| vtkFloatingPointType | color0, | |||
| vtkFloatingPointType | color1, | |||
| vtkFloatingPointType | color2, | |||
| int | type, | |||
| int | ignore | |||
| ) |
References GraphList::GetColor(), GraphList::GetID(), GraphEntryList::GetIgnoreGraphMinGraphMax(), GraphList::GetType(), GraphEntryList::MatchGraphEntry(), FW::Actions::Modified, result, GraphList::SetColor(), GraphEntryList::SetIgnoreGraphMinGraphMax(), GraphList::SetType(), and vtkFloatingPointType.
| void vtkImageGraph::CalculateGraphMinGraphMax | ( | vtkFloatingPointType * | CurveRegionMin, | |
| vtkFloatingPointType * | CurveRegionMax | |||
| ) | [protected] |
References Dimension, GraphEntryList::GetGraphEntry(), GraphEntryList::GetIgnoreGraphMinGraphMax(), GraphEntryList::GetNext(), GraphMax, GraphMin, and vtkImageGraphGetMinMax().
Referenced by ExecuteData().
| void vtkImageGraph::ChangeColorOfIndirectLookupTable | ( | vtkIndirectLookupTable * | Table, | |
| vtkFloatingPointType | SatMin, | |||
| vtkFloatingPointType | SatMax, | |||
| vtkFloatingPointType | ValMin, | |||
| vtkFloatingPointType | ValMax, | |||
| vtkFloatingPointType | HueMin, | |||
| vtkFloatingPointType | HueMax | |||
| ) |
| vtkLookupTable * vtkImageGraph::CreateLookupTable | ( | vtkFloatingPointType | SatMin, | |
| vtkFloatingPointType | SatMax, | |||
| vtkFloatingPointType | ValMin, | |||
| vtkFloatingPointType | ValMax, | |||
| vtkFloatingPointType | HueMin, | |||
| vtkFloatingPointType | HueMax | |||
| ) |
References New(), and vtkFloatingPointType.
Referenced by ChangeColorOfIndirectLookupTable(), and CreateUniformIndirectLookupTable().
| vtkIndirectLookupTable * vtkImageGraph::CreateUniformIndirectLookupTable | ( | ) |
References FW::Actions::Modified, and result.
| void vtkImageGraph::DeleteVariables | ( | ) | [protected] |
References LookupTable.
| void vtkImageGraph::Draw1DGraph | ( | vtkImageData * | data | ) | [protected] |
References ConvertColor(), DrawBackground(), GraphList::GetColor(), GraphEntryList::GetGraphEntry(), GraphEntryList::GetIgnoreGraphMinGraphMax(), GraphEntryList::GetNext(), GraphList::GetType(), GraphMax, GraphMin, vtkFloatingPointType, vtkImageGraphDrawCurve(), and vtkImageGraphGetMinMax().
Referenced by ExecuteData().
| void vtkImageGraph::Draw2DGraph | ( | vtkImageData * | data, | |
| int | NumRegion, | |||
| vtkFloatingPointType * | CurveRegionMin, | |||
| vtkFloatingPointType * | CurveRegionMax | |||
| ) | [protected] |
References ConvertColor(), DrawBackground(), GraphList::GetColor(), GraphEntryList::GetGraphEntry(), GraphEntryList::GetNext(), and vtkImageGraphDrawRegion().
Referenced by ExecuteData().
References char, DataBackRange, LookupTable, ModifyHeader::val, vtkFloatingPointType, Xlength, and Ylength.
Referenced by Draw1DGraph(), and Draw2DGraph().
| void vtkImageGraph::ExecuteData | ( | vtkDataObject * | data | ) | [protected, virtual] |
| vtkFloatingPointType * vtkImageGraph::GetColor | ( | vtkImageData * | plot | ) |
References GraphList::GetColor(), and result.
| GraphEntryList* vtkImageGraph::GetGraphList | ( | ) | [inline] |
| int vtkImageGraph::GetIgnoreGraphMinGraphMax | ( | vtkImageData * | plot | ) |
References GraphEntryList::GetIgnoreGraphMinGraphMax(), and result.
| unsigned long vtkImageGraph::GetMTime | ( | void | ) |
References GraphEntryList::GetGraphEntry(), GraphEntryList::GetNext(), and LookupTable.
| vtkImageGraph * vtkImageGraph::New | ( | ) | [static] |
References autoSlicerTracto2regions::ret.
Referenced by CreateLookupTable(), and CreateUniformIndirectLookupTable().
| void vtkImageGraph::operator= | ( | const vtkImageGraph & | ) | [private] |
| void vtkImageGraph::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) |
| void vtkImageGraph::SetColor | ( | vtkImageData * | plot, | |
| vtkFloatingPointType | color0, | |||
| vtkFloatingPointType | color1, | |||
| vtkFloatingPointType | color2 | |||
| ) |
References GraphList::GetColor(), FW::Actions::Modified, result, GraphList::SetColor(), and vtkFloatingPointType.
| void vtkImageGraph::SetIgnoreGraphMinGraphMax | ( | vtkImageData * | plot, | |
| int | flag | |||
| ) |
| virtual void vtkImageGraph::SetLookupTable | ( | vtkScalarsToColors * | ) | [virtual] |
| vtkImageGraph::vtkGetMacro | ( | CurveThickness | , | |
| int | ||||
| ) |
| vtkImageGraph::vtkGetMacro | ( | GraphMin | , | |
| vtkFloatingPointType | ||||
| ) |
| vtkImageGraph::vtkGetMacro | ( | GraphMax | , | |
| vtkFloatingPointType | ||||
| ) |
| vtkImageGraph::vtkGetObjectMacro | ( | LookupTable | , | |
| vtkScalarsToColors | ||||
| ) |
| vtkImageGraph::vtkGetVector2Macro | ( | DataBackRange | , | |
| int | ||||
| ) |
| vtkImageGraph::vtkSetMacro | ( | CurveThickness | , | |
| int | ||||
| ) |
| vtkImageGraph::vtkSetVector2Macro | ( | DataBackRange | , | |
| int | ||||
| ) |
| vtkImageGraph::vtkTypeMacro | ( | vtkImageGraph | , | |
| vtkImageSource | ||||
| ) |
int vtkImageGraph::CurveThickness [protected] |
Referenced by PrintSelf(), and vtkImageGraph().
int vtkImageGraph::DataBackRange[2] [protected] |
Referenced by DrawBackground(), PrintSelf(), and vtkImageGraph().
int vtkImageGraph::Dimension [protected] |
Referenced by CalculateGraphMinGraphMax(), ExecuteData(), PrintSelf(), and vtkImageGraph().
GraphEntryList vtkImageGraph::GraphList [protected] |
vtkFloatingPointType vtkImageGraph::GraphMax [protected] |
Referenced by CalculateGraphMinGraphMax(), Draw1DGraph(), PrintSelf(), and vtkImageGraph().
vtkFloatingPointType vtkImageGraph::GraphMin [protected] |
Referenced by CalculateGraphMinGraphMax(), Draw1DGraph(), PrintSelf(), and vtkImageGraph().
vtkScalarsToColors* vtkImageGraph::LookupTable [protected] |
Referenced by DeleteVariables(), DrawBackground(), ExecuteData(), GetMTime(), PrintSelf(), and vtkImageGraph().
int vtkImageGraph::Xlength [protected] |
Referenced by DrawBackground(), ExecuteData(), ExecuteInformation(), PrintSelf(), and vtkImageGraph().
int vtkImageGraph::Ylength [protected] |
Referenced by DrawBackground(), ExecuteData(), ExecuteInformation(), PrintSelf(), and vtkImageGraph().
1.6.1