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
ContourMeshStructure Struct Reference

Structure which represent a contour or a mesh, and used for interaction between Visualization and TableWidget. More...

#include <Code/IO/ContourMeshStructure.h>

Inheritance diagram for ContourMeshStructure:
Inheritance graph
[legend]
Collaboration diagram for ContourMeshStructure:
Collaboration graph
[legend]

Public Member Functions

 ContourMeshStructure ()
 
 ContourMeshStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, std::vector< vtkActor * > iActors, vtkPolyData *iNodes, const unsigned int &iT, const bool &iHighlighted, const bool &iVisible, const double &r, const double &g, const double &b, const double &alpha)
 
 ContourMeshStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, std::vector< vtkActor * > iActors, vtkPolyData *iNodes, const unsigned int &iT, const bool &iHighlighted, const bool &iVisible, double iRgba[4])
 
 ContourMeshStructure (const unsigned int &iTraceID, const unsigned int &iCollectionID, vtkActor *iActorXY, vtkActor *iActorYZ, vtkActor *iActorXZ, vtkActor *iActorXYZ, vtkPolyData *iNodes, const unsigned int &iT, const bool &iHighlighted, const bool &iVisible, const double &r, const double &g, const double &b, const double &alpha)
 
 ContourMeshStructure (const ContourMeshStructure &iE)
 
int GetDirection ()
 Return the direction of a given contour iContour. More...
 
bool IsAContour ()
 Is it a contour or a mesh ? More...
 
void ModifyCollectionID (unsigned int iCollectionID)
 
 ~ContourMeshStructure ()
 
- Public Member Functions inherited from TraceStructure
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

unsigned int TCoord
 
- Public Attributes inherited from TraceStructure
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 ContourMeshStructure &c)
 

Detailed Description

Structure which represent a contour or a mesh, and used for interaction between Visualization and TableWidget.

See Also
ContourMeshContainer

Definition at line 67 of file ContourMeshStructure.h.

Constructor & Destructor Documentation

ContourMeshStructure::ContourMeshStructure ( )

Default Constructor

Definition at line 47 of file ContourMeshStructure.cxx.

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

Constructor

Definition at line 55 of file ContourMeshStructure.cxx.

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

Constructor

Definition at line 91 of file ContourMeshStructure.cxx.

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

Constructor

Definition at line 107 of file ContourMeshStructure.cxx.

ContourMeshStructure::ContourMeshStructure ( const ContourMeshStructure iE)

Constructor by copy

Definition at line 130 of file ContourMeshStructure.cxx.

ContourMeshStructure::~ContourMeshStructure ( )

Destructor

Definition at line 139 of file ContourMeshStructure.cxx.

Member Function Documentation

int ContourMeshStructure::GetDirection ( )

Return the direction of a given contour iContour.

Returns
0 if z coordinates are constant
1 if y coordinates are constant
2 if x coordinates are constant
-1 else

Definition at line 154 of file ContourMeshStructure.cxx.

bool ContourMeshStructure::IsAContour ( )

Is it a contour or a mesh ?

Returns
true if it is a contour
false else

Definition at line 146 of file ContourMeshStructure.cxx.

void ContourMeshStructure::ModifyCollectionID ( unsigned int  iCollectionID)

Definition at line 177 of file ContourMeshStructure.cxx.

Friends And Related Function Documentation

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

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

Definition at line 143 of file ContourMeshStructure.h.

Member Data Documentation

unsigned int ContourMeshStructure::TCoord

Time point of the contour / mesh

Definition at line 73 of file ContourMeshStructure.h.


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