GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Friends | List of all members
TraceStructure Struct Reference

Structure which represent a trace (contour, mesh, track, lineage), and used for interaction between Visualization and TableWidget. More...

#include <Code/IO/TraceStructure.h>

Inheritance diagram for TraceStructure:
Inheritance graph
[legend]

Public Member Functions

virtual void ReleaseData () const
 
void RenderWithOriginalColors () const
 Render with original colors (Remove the active scalars data). More...
 
void ResetNodes () const
 
void SetActorProperties (vtkProperty *iProperty) const
 Set Property for all actors. More...
 
void SetActorVisibility (const bool &iVisible) const
 Set Visibility for all actors. More...
 
void SetLookupTable (const vtkLookupTable *iLut) const
 Set the lookup table. More...
 
void SetScalarData (const std::string &iName, const double &iValue) const
 Set Scalar Data associated to the elements (use for color coding) More...
 
void SetScalarRange (const double &iMin, const double &iMax) const
 Set the scalar range (use for color coding) More...
 
 TraceStructure ()
 
 TraceStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, std::vector< vtkActor * > iActors, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible, const double &r, const double &g, const double &b, const double &alpha)
 
 TraceStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, std::vector< vtkActor * > iActors, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible, double iRgba[4])
 
 TraceStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, vtkActor *iActorXY, vtkActor *iActorYZ, vtkActor *iActorXZ, vtkActor *iActorXYZ, vtkPolyData *iNodes, const bool &iHighlighted, const bool &iVisible, const double &r, const double &g, const double &b, const double &alpha)
 
 TraceStructure (const TraceStructure &iE)
 
virtual ~TraceStructure ()
 

Public Attributes

vtkActor * ActorXY
 
vtkActor * ActorXYZ
 
vtkActor * ActorXZ
 
vtkActor * ActorYZ
 
unsigned int CollectionID
 
bool Highlighted
 
vtkPolyData * Nodes
 
double rgba [4]
 
unsigned int TraceID
 
bool Visible
 

Friends

std::ostream & operator<< (std::ostream &os, const TraceStructure &c)
 

Detailed Description

Structure which represent a trace (contour, mesh, track, lineage), and used for interaction between Visualization and TableWidget.

Definition at line 64 of file TraceStructure.h.

Constructor & Destructor Documentation

TraceStructure::TraceStructure ( )

Constructor

Definition at line 47 of file TraceStructure.cxx.

TraceStructure::TraceStructure ( const unsigned int &  iTraceID,
const unsigned int &  iCollectionID,
std::vector< vtkActor * >  iActors,
vtkPolyData *  iNodes,
const bool &  iHighlighted,
const bool &  iVisible,
const double &  r,
const double &  g,
const double &  b,
const double &  alpha 
)

Constructor

Definition at line 60 of file TraceStructure.cxx.

TraceStructure::TraceStructure ( const unsigned int &  iTraceID,
const unsigned int &  iCollectionID,
std::vector< vtkActor * >  iActors,
vtkPolyData *  iNodes,
const bool &  iHighlighted,
const bool &  iVisible,
double  iRgba[4] 
)

Constructor

Definition at line 95 of file TraceStructure.cxx.

TraceStructure::TraceStructure ( const unsigned int &  iTraceID,
const unsigned int &  iCollectionID,
vtkActor *  iActorXY,
vtkActor *  iActorYZ,
vtkActor *  iActorXZ,
vtkActor *  iActorXYZ,
vtkPolyData *  iNodes,
const bool &  iHighlighted,
const bool &  iVisible,
const double &  r,
const double &  g,
const double &  b,
const double &  alpha 
)

Constructor

Definition at line 126 of file TraceStructure.cxx.

TraceStructure::TraceStructure ( const TraceStructure iE)

Constructor

Definition at line 153 of file TraceStructure.cxx.

TraceStructure::~TraceStructure ( )
virtual

Definition at line 168 of file TraceStructure.cxx.

Member Function Documentation

void TraceStructure::ReleaseData ( ) const
virtual

Reimplemented in TrackStructure.

Definition at line 336 of file TraceStructure.cxx.

void TraceStructure::RenderWithOriginalColors ( ) const

Render with original colors (Remove the active scalars data).

Definition at line 276 of file TraceStructure.cxx.

void TraceStructure::ResetNodes ( ) const

Definition at line 364 of file TraceStructure.cxx.

void TraceStructure::SetActorProperties ( vtkProperty *  iProperty) const

Set Property for all actors.

Parameters
[in]iProperty

Definition at line 175 of file TraceStructure.cxx.

void TraceStructure::SetActorVisibility ( const bool &  iVisible) const

Set Visibility for all actors.

Parameters
[in]iVisible

Definition at line 201 of file TraceStructure.cxx.

void TraceStructure::SetLookupTable ( const vtkLookupTable *  iLut) const

Set the lookup table.

Parameters
[in]iLut

Definition at line 305 of file TraceStructure.cxx.

void TraceStructure::SetScalarData ( const std::string &  iName,
const double &  iValue 
) const

Set Scalar Data associated to the elements (use for color coding)

Parameters
[in]iNamedata name
[in]iValuevalue

Definition at line 223 of file TraceStructure.cxx.

void TraceStructure::SetScalarRange ( const double &  iMin,
const double &  iMax 
) const

Set the scalar range (use for color coding)

Parameters
[in]iMin
[in]iMax

Definition at line 248 of file TraceStructure.cxx.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const TraceStructure c 
)
friend

Printing one element. std::cout << element << std::endl;

Definition at line 173 of file TraceStructure.h.

Member Data Documentation

vtkActor* TraceStructure::ActorXY

Actor in the XY View

Definition at line 75 of file TraceStructure.h.

vtkActor* TraceStructure::ActorXYZ

Actor in the XYZ View

Definition at line 84 of file TraceStructure.h.

vtkActor* TraceStructure::ActorXZ

Actor in the XZ View

Definition at line 78 of file TraceStructure.h.

vtkActor* TraceStructure::ActorYZ

Actor in the YZ View

Definition at line 81 of file TraceStructure.h.

unsigned int TraceStructure::CollectionID

CollectionID

Definition at line 72 of file TraceStructure.h.

bool TraceStructure::Highlighted

Is the track Highlighted in the Visualization ?

Definition at line 90 of file TraceStructure.h.

vtkPolyData* TraceStructure::Nodes

Definition at line 87 of file TraceStructure.h.

double TraceStructure::rgba[4]

color of the track.

Note
each component is in [0,1]

Definition at line 98 of file TraceStructure.h.

unsigned int TraceStructure::TraceID

TraceID

Definition at line 69 of file TraceStructure.h.

bool TraceStructure::Visible

Is the track Visible (appears on the screen) in the Visualization ?

Definition at line 95 of file TraceStructure.h.


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