16#ifndef __albaVMEOutput_h
17#define __albaVMEOutput_h
70 virtual void Print(std::ostream& os,
const int tabs=0);
109 virtual vtkDataSet *GetVTKData();
double albaTimeStamp
type for time varying data timestamps (not for pipelines timestamps!)
Hold a reference to a T instance.
albaGUI is a panel with function to easily create GUI.
albaMatrix - Time stamped 4x4 Matrix.
This class simply stores a Box boundary (i.e.
Abstract superclass for all ALBA classes implementing RTTI APIs.
albaString - performs common string operations on c-strings.
albaVMEIterator - an m-way tree data structure iterator albaVMEIterator is a class to traverse a tree...
albaVMEOutput - the output data structure of a VME node.
void GetAbsMatrix(albaMatrix &matrix, albaTimeStamp t=-1) const
Get the global pose matrix of this VME for the given time "t".
virtual void Update()
Update all the output data structures (data, bounds, matrix and abs matrix).
void GetTimeBounds(albaTimeStamp tbounds[2]) const
Return the TimeBounds of the whole subtree, i.e recurse the GetLocalTimeBounds() function over all th...
albaVME * GetVME() const
return the VME connected to this object
void Get4DBounds(albaOBB &bounds) const
void GetPose(double &x, double &y, double &z, double &rx, double &ry, double &rz, albaTimeStamp t=-1) const
Return the VME pose, this function queries the MatrixPipe for producing a matrix.
albaTimeStamp GetTimeStamp() const
return the time for which this output was computed
void GetBounds(double bounds[6]) const
Return the space bound of the subtree for the current time, taking in consideration the current data ...
virtual void Print(std::ostream &os, const int tabs=0)
print a dump of this object
virtual albaTransformBase * GetTransform() const
Return the transform generating the pose matrix of the VME.
albaAutoPointer< albaTransformBase > m_Transform
the transform generating the output pose matrix
albaString m_DataType
the type of data stored in object expressed as a string
void GetAbsPose(double xyz[3], double rxyz[3], albaTimeStamp t=-1) const
Get the global pose of this VME for the given time "t".
void GetVMELocalBounds(double bounds[6]) const
Return the local space bound (in local coordinates) of the VME (not the whole subtree) for the curren...
albaAbstractTypeMacro(albaVMEOutput, albaObject)
void GetVME4DBounds(double bounds[6]) const
Extract the 4D bounds for this VME only, i.e.
virtual void GetVMELocalBounds(albaOBB &bounds, albaTimeStamp t=-1, albaVMEIterator *iter=NULL) const
void GetVMEBounds(double bounds[6]) const
Return the space bound of the VME (not the subtree) for the current time, taking in consideration the...
albaMatrix * GetAbsMatrix() const
Get the global pose matrix of this VME for the given time "t".
virtual void SetTransform(albaTransformBase *trans)
Used by source VME to set internal pointer to Transform: do not use this method directly,...
virtual albaGUI * CreateGui()
Internally used to create a new instance of the GUI.
albaOBB m_Bounds
bounds of the output data (i.e. for current time)
virtual const char * GetDataType() const
Return the DataType to be produced as output.
albaGUI * m_Gui
user interface
void DeleteGui()
destroy the Gui
albaGUI * GetGui()
create and return the GUI for changing the node parameters
void SetVME(albaVME *vme)
internally used to set the VME connected to this object
virtual void GetDataBounds(albaOBB &bounds, albaTimeStamp t) const
retrieve bounds of the output data not considering the VME pose matrix and the visibility.
albaVME * m_VME
pointer to source VME
void SetBounds(const albaOBB &bounds)
Used by source VME to set internal bounds structure: never use this method directly.
virtual void GetMatrix(albaMatrix &matrix, albaTimeStamp t=-1) const
Return the VME pose.
albaMatrix * GetMatrix() const
Return the VME pose matrix for the current time.
void GetLocalTimeBounds(albaTimeStamp tbounds[2]) const
Get TimeBounds for this VME.
void GetVME4DBounds(albaOBB &bounds) const
virtual albaTransformBase * GetAbsTransform() const
return the transform representing the Abs pose (typically the VME's AbsMatrix pipe)
VMEOUTPUT_WIDGET_ID
IDs for the GUI.
virtual void GetBounds(albaOBB &bounds, albaTimeStamp t=-1, albaVMEIterator *iter=NULL) const
virtual void GetVMEBounds(albaOBB &bounds, albaTimeStamp t=-1, albaVMEIterator *iter=NULL) const
void GetAbsPose(double &x, double &y, double &z, double &rx, double &ry, double &rz, albaTimeStamp t=-1) const
Get the global pose of this VME for the given time "t".
void Get4DBounds(double bounds[6]) const
Extract the 4D bounds for all the subtree starting a this VME, i.e.
void GetPose(double xyz[3], double rxyz[3], albaTimeStamp t=-1) const
Return the VME pose.