DATAKIT API  V2025.1
Dtk_Table Class Reference

Represents the tables. More...

+ Inheritance diagram for Dtk_Table:

Public Member Functions

virtual Dtk_ErrorStatus _Store (void *)
 
void AddAdditionnalGeometries (const Dtk_tab< Dtk_EntityPtr > &inAdditionnalGeometries)
 Adds some additionnal geometries to the Dtk_2dEntity. More...
 
void AddAdditionnalGeometry (const Dtk_EntityPtr &inAdditionnalGeometry)
 Adds an additionnal geometry to the Dtk_2dEntity. More...
 
void AddAdditionnalTexts (Dtk_CompositeText inAddtionnalTexts)
 Adds some additionnal texts to the Dtk_2dEntity. More...
 
Dtk_ErrorStatus AddLeader (const Dtk_LeaderPtr &leader)
 Adds a leader to the Dtk_Annotation. More...
 
Dtk_Size_tCell_Col (const Dtk_Size_t inPos)
 Sets the number of cells of the ith columns. More...
 
const Dtk_Size_tCell_Col (const Dtk_Size_t inPos) const
 Gets the number of cells in each column. More...
 
Dtk_Size_tCell_Line (const Dtk_Size_t inPos)
 Sets the number of cells of the (i)th line. More...
 
const Dtk_Size_tCell_Line (const Dtk_Size_t inPos) const
 Gets the number of cells in each line. More...
 
Dtk_Int32 DtkDynamicType (const Dtk_Int32 &inId)
 Retrieves the dynamic entity type. More...
 
int DtkDynamicType (const int &inId)
 
virtual void dump (FILE *file=stdout)
 
Dtk_InfoPtr get_info () const
 
type_detk get_type_detk () const
 
const Dtk_tab< Dtk_EntityPtr > & GetAdditionnalGeometries () const
 Retrieves the additionnal geometries of the Dtk_2dEntity. More...
 
const Dtk_CompositeTextGetAdditionnalTexts () const
 Retrieves the additionnal texts of the Dtk_2dEntity. More...
 
Dtk_ErrorStatus GetAnchorPoints (Dtk_pnt(&outTabPnts)[DTK_NB_ANCHOR_TYPES]) const
 Processes all the Dtk_Annotation anchor points. More...
 
Dtk_OneCellgetCell (const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
 
const Dtk_OneCellgetCell (const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
 
const Dtk_IDGetID () const
 Get Internal UniqueID. More...
 
Dtk_LeaderPtr GetLeader (const Dtk_Size_t &inPos) const
 Gets the i'th leader. More...
 
virtual Dtk_pnt GetLocation () const
 Get the annoation location point. More...
 
const Dtk_anchor_typeGetLocationAnchorType () const
 Gets the location anchor type - read only -. More...
 
Dtk_Size_t getNbcols ()
 Gets the number of colums in Dtk_Table. More...
 
Dtk_Size_t getNbrows ()
 Gets the number of rows in Dtk_Table. More...
 
Dtk_Size_t GetNumCols () const
 Gets the Dtk_Table columns number. More...
 
Dtk_Size_t GetNumLeaders () const
 Retrieves the number of leaders. More...
 
Dtk_Size_t GetNumRows () const
 Gets the Dtk_Table rows number. More...
 
Dtk_Double64 GetOffset () const
 Gets the annotation offset - read only -. More...
 
Dtk_Double64 GetRotationAngle (const Dtk_dir &inXAxis=Dtk_dir(1, 0, 0), const Dtk_dir &inYAxis=Dtk_dir(0, 1, 0)) const
 Gets the text rotation angle giving a reference base. More...
 
virtual Dtk_Size_t GetSize () const
 
Dtk_dir GetXAxis () const
 Get the X Axis - read only -. More...
 
Dtk_dir GetYAxis () const
 Get the Y Axis - read only -. More...
 
Dtk_InfoPtrinfo ()
 
virtual std::ostream & operator<< (std::ostream &o) const
 
virtual void PrepareTransfo ()
 
Dtk_ErrorStatus ProcessTextsPlacement ()
 Processes internal annotation placement - internal use only -. More...
 
virtual Dtk_ErrorStatus Reverse ()
 Reverses the Dtk_Annotation. More...
 
void Set_Texts (const Dtk_Size_t &inRowIdx, const Dtk_Size_t &inColIdx, Dtk_CompositeText inText)
 Sets the (inRowIdx,inColIdx)th text. More...
 
Dtk_ErrorStatus SetAnchorPoint (const Dtk_pnt &inNewLocation, const Dtk_anchor_type &inLocationAnchorType)
 Sets the Dtk_Annotation anchor point. More...
 
 SetAsDeprecated ("Undefined", "Use Dtk_TextStyle::Justification()") Dtk_justication_type GetJustification() const
 Get the justification type - read only -. More...
 
Dtk_ErrorStatus SetLocation (const Dtk_pnt &inLocation)
 Sets the location point of the Dtk_Annotation. More...
 
Dtk_ErrorStatus SetLocation (const Dtk_pnt &location, const Dtk_anchor_type &inAnchorType)
 Sets the location point of the Dtk_Annotation. More...
 
Dtk_ErrorStatus SetOffset (const Dtk_Double64 &inOffset)
 Sets the offset of the Dtk_Annotation. More...
 
Dtk_ErrorStatus SetRotationAngle (const Dtk_Double64 &inRotationAngle)
 Sets the annotation angle using the annotation base. More...
 
Dtk_CompositeTextText (const Dtk_Size_t &inRow, const Dtk_Size_t &inCol)
 
const Dtk_CompositeTextText (const Dtk_Size_t &inRow, const Dtk_Size_t &inCol) const
 Gets the (i,j)th text - get/set -. More...
 
Dtk_ErrorStatus Transform (const Dtk_transfo &inTransfo)
 Applies a transformation matrix to the entity. //! More...
 

Static Public Member Functions

static Dtk_TablePtr Create (const Dtk_Int32 &inNumRows, const Dtk_Int32 &inNumCols, const Dtk_pnt &inLocationPnt=Dtk_pnt(0, 0, 0), const Dtk_Double64 &inAngle=0.0, const Dtk_InfoPtr &infos=NULL, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 &inOffSet=0.0, const Dtk_anchor_type &inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type &inJustificationType=DTK_JUSTIFY_LEFT)
 Full featured constructor. More...
 
static Dtk_TablePtr Create (const Dtk_Table &tab)
 CopyConstructor{inTobCopied}. More...
 
static Dtk_TableDtkDynamicCast (Dtk_Object *s)
 Performs a dynamic cast - doesn't need RTTI -. More...
 

Protected Types

enum  { _typeID = DTK_TYPE_2D_ENTITY }
 
enum  { _typeID = DTK_TYPE_ENTITY }
 
enum  { _typeID = DTK_TYPE_ANNOTATION }
 
enum  { _typeID = DTK_TYPE_TABLE }
 

Protected Member Functions

void _CheckRowCol (const Dtk_Size_t inRow, const Dtk_Size_t inCol) const
 
void _Copy (const Dtk_2dEntity &s)
 
void _copy (const Dtk_Entity &s)
 
void _copy (const Dtk_Object &s)
 
void _init ()
 
void _reset ()
 
virtual Dtk_ObjectClone ()
 
 Dtk_Table ()
 Base constructor. More...
 
 Dtk_Table (const Dtk_Int32 &inNumRows, const Dtk_Int32 &inNumCols, const Dtk_pnt &inLocationPnt=Dtk_pnt(0, 0, 0), const Dtk_Double64 &inAngle=0.0, const Dtk_InfoPtr &infos=NULL, Dtk_tab< Dtk_LeaderPtr > inLeadersArray=Dtk_tab< Dtk_LeaderPtr >(), const Dtk_Double64 &inOffSet=0.0, const Dtk_anchor_type &inAnchorType=DTK_ANCHOR_BOTTOM_LEFT, const Dtk_justication_type &inJustificationType=DTK_JUSTIFY_LEFT)
 
 Dtk_Table (const Dtk_Table &tab)
 
Dtk_OneCelloperator[] (const Dtk_Size_t &inPos)
 
const Dtk_OneCelloperator[] (const Dtk_Size_t &inPos) const
 
 ~Dtk_Table ()
 Destructor. More...
 

Protected Attributes

Dtk_Handle * _Private
 
unsigned long count_
 
Dtk_tab< Dtk_Size_tnbCells_Col
 number of cells on each column (if we consider mergers) More...
 
Dtk_tab< Dtk_Size_tnbCells_Line
 number of cells on each line (if we consider mergers) More...
 
Dtk_Size_t nbCol
 Number of columns. More...
 
Dtk_Size_t nbRows
 Number of lines. More...
 
Dtk_OneCell ** tableOfCell
 A table of cells. More...
 

Friends

class Dtk_SmartPtr< Dtk_Table >
 

Detailed Description

Represents the tables.

nbCells_Line : number of cells on each line (if we consider mergers).

nbCells_Col : number of cells on each column (if we consider mergers).

Example:

See also
Dtk_OneCell
Please use the Dtk_TablePtr class to handle it...

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
_typeID 
1787  {
1789  };

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
_typeID 

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
_typeID 
2542  {
2544  };

◆ anonymous enum

anonymous enum
protected
Enumerator
_typeID 
4428  {
4430  };

Constructor & Destructor Documentation

◆ Dtk_Table() [1/3]

Dtk_Table::Dtk_Table ( )
protected

Base constructor.

◆ Dtk_Table() [2/3]

Dtk_Table::Dtk_Table ( const Dtk_Table tab)
protected
See also
create(const Dtk_Table &)

◆ Dtk_Table() [3/3]

Dtk_Table::Dtk_Table ( const Dtk_Int32 inNumRows,
const Dtk_Int32 inNumCols,
const Dtk_pnt inLocationPnt = Dtk_pnt(0, 0, 0),
const Dtk_Double64 inAngle = 0.0,
const Dtk_InfoPtr infos = NULL,
Dtk_tab< Dtk_LeaderPtr inLeadersArray = Dtk_tabDtk_LeaderPtr >(),
const Dtk_Double64 inOffSet = 0.0,
const Dtk_anchor_type inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
const Dtk_justication_type inJustificationType = DTK_JUSTIFY_LEFT 
)
protected
See also
Create(const Dtk_Int32&, const Dtk_Int32&, const Dtk_pnt &,const Dtk_Double64 &, const Dtk_InfoPtr &,const Dtk_tab<Dtk_LeaderPtr> &,const Dtk_Double64 &, const Dtk_anchor_type &,const Dtk_justication_type &) Dtk_Annotation();

◆ ~Dtk_Table()

Dtk_Table::~Dtk_Table ( )
protected

Destructor.

Member Function Documentation

◆ _CheckRowCol()

void Dtk_Table::_CheckRowCol ( const Dtk_Size_t  inRow,
const Dtk_Size_t  inCol 
) const
protected

◆ _Copy()

void Dtk_2dEntity::_Copy ( const Dtk_2dEntity s)
protectedinherited

◆ _copy() [1/2]

void Dtk_Entity::_copy ( const Dtk_Entity s)
protectedinherited

◆ _copy() [2/2]

void Dtk_Object::_copy ( const Dtk_Object s)
protectedinherited

◆ _init()

void Dtk_Entity::_init ( )
protectedinherited

◆ _reset()

void Dtk_Entity::_reset ( )
protectedinherited

◆ _Store()

◆ AddAdditionnalGeometries()

void Dtk_2dEntity::AddAdditionnalGeometries ( const Dtk_tab< Dtk_EntityPtr > &  inAdditionnalGeometries)
inherited

Adds some additionnal geometries to the Dtk_2dEntity.

Parameters
inAdditionnalGeometriesThe geometries to be added

◆ AddAdditionnalGeometry()

void Dtk_2dEntity::AddAdditionnalGeometry ( const Dtk_EntityPtr inAdditionnalGeometry)
inherited

Adds an additionnal geometry to the Dtk_2dEntity.

Parameters
inAdditionnalGeometryThe geometry to be added

◆ AddAdditionnalTexts()

void Dtk_2dEntity::AddAdditionnalTexts ( Dtk_CompositeText  inAddtionnalTexts)
inherited

Adds some additionnal texts to the Dtk_2dEntity.

Parameters
inAddtionnalTextsThe texts to be added

◆ AddLeader()

Dtk_ErrorStatus Dtk_Annotation::AddLeader ( const Dtk_LeaderPtr leader)
inherited

Adds a leader to the Dtk_Annotation.

Parameters
leaderThe leader to be added
Returns
dtkNoError is OK
Remarks
If Added leader is NULL, so no leader is added.

◆ Cell_Col() [1/2]

Dtk_Size_t& Dtk_Table::Cell_Col ( const Dtk_Size_t  inPos)

Sets the number of cells of the ith columns.

Parameters
iColumn number
inNewValThe new number witch represents the number of cell of the ith Column

◆ Cell_Col() [2/2]

const Dtk_Size_t& Dtk_Table::Cell_Col ( const Dtk_Size_t  inPos) const

Gets the number of cells in each column.

Returns
the number of cells in each column

◆ Cell_Line() [1/2]

Dtk_Size_t& Dtk_Table::Cell_Line ( const Dtk_Size_t  inPos)

Sets the number of cells of the (i)th line.

Parameters
iLine number
inNewValThe new number witch represents the number of cell of the ith row

◆ Cell_Line() [2/2]

const Dtk_Size_t& Dtk_Table::Cell_Line ( const Dtk_Size_t  inPos) const

Gets the number of cells in each line.

Returns
the number of cells in each line

◆ Clone()

virtual Dtk_Object* Dtk_Table::Clone ( )
protectedvirtual

Implements Dtk_Annotation.

4451 { return new Dtk_Table(*this); }

◆ Create() [1/2]

static Dtk_TablePtr Dtk_Table::Create ( const Dtk_Int32 inNumRows,
const Dtk_Int32 inNumCols,
const Dtk_pnt inLocationPnt = Dtk_pnt(0, 0, 0),
const Dtk_Double64 inAngle = 0.0,
const Dtk_InfoPtr infos = NULL,
Dtk_tab< Dtk_LeaderPtr inLeadersArray = Dtk_tabDtk_LeaderPtr >(),
const Dtk_Double64 inOffSet = 0.0,
const Dtk_anchor_type inAnchorType = DTK_ANCHOR_BOTTOM_LEFT,
const Dtk_justication_type inJustificationType = DTK_JUSTIFY_LEFT 
)
static

Full featured constructor.

Parameters
inNumRowsRows number in the Dtk_Table
inNumColsColumns number in the Dtk_Table
inLocationPntThe Dtk_Table location
inAngleAngle
inInfosDtk_Table infos
inLeadersArrayLeaders array
inOffSetOffset
inAnchorTypeDtk_Table anchor type
inJustificationTypeJustification type
Returns
The created Dtk_TablePtr

◆ Create() [2/2]

static Dtk_TablePtr Dtk_Table::Create ( const Dtk_Table tab)
static

CopyConstructor{inTobCopied}.

◆ DtkDynamicCast()

static Dtk_Table* Dtk_Table::DtkDynamicCast ( Dtk_Object s)
static

Performs a dynamic cast - doesn't need RTTI -.

◆ DtkDynamicType() [1/2]

Dtk_Int32 Dtk_Table::DtkDynamicType ( const Dtk_Int32 inId)

Retrieves the dynamic entity type.

◆ DtkDynamicType() [2/2]

◆ dump()

virtual void Dtk_Object::dump ( FILE *  file = stdout)
virtualinherited

◆ get_info()

Dtk_InfoPtr Dtk_Entity::get_info ( ) const
inherited

◆ get_type_detk()

type_detk Dtk_Table::get_type_detk ( ) const
virtual
Returns
The type of the entity type - DTK_TYPE_TABLE-

Implements Dtk_Annotation.

4557 { return DTK_TYPE_TABLE; }

◆ GetAdditionnalGeometries()

const Dtk_tab< Dtk_EntityPtr >& Dtk_2dEntity::GetAdditionnalGeometries ( ) const
inherited

Retrieves the additionnal geometries of the Dtk_2dEntity.

Returns
The additionnal geometries array - read only -.

◆ GetAdditionnalTexts()

const Dtk_CompositeText& Dtk_2dEntity::GetAdditionnalTexts ( ) const
inherited

Retrieves the additionnal texts of the Dtk_2dEntity.

Returns
The additionnal texts - read only -.

◆ GetAnchorPoints()

Dtk_ErrorStatus Dtk_Table::GetAnchorPoints ( Dtk_pnt(&)  outTabPnts[DTK_NB_ANCHOR_TYPES]) const
virtual

Processes all the Dtk_Annotation anchor points.

Parameters
outTabPntsThe resulting anchor point array.
Returns
dtkNoError if OK

Implements Dtk_Annotation.

◆ getCell() [1/2]

Dtk_OneCell& Dtk_Table::getCell ( const Dtk_Size_t inRow,
const Dtk_Size_t inCol 
)
Parameters
inRowLine number
inColColumn number
Returns
tableOfCell[i][j]
4504  {
4505 #ifdef _DEBUG_DTK
4506  _CheckRowCol( inRow, inCol);
4507 #endif
4508  return operator[](inRow)[inCol];
4509  }

◆ getCell() [2/2]

const Dtk_OneCell& Dtk_Table::getCell ( const Dtk_Size_t inRow,
const Dtk_Size_t inCol 
) const
4511  {
4512 #ifdef _DEBUG_DTK
4513  _CheckRowCol( inRow, inCol);
4514 #endif
4515  return operator[](inRow)[inCol];
4516  }

◆ GetID()

const Dtk_ID& Dtk_Entity::GetID ( ) const
inherited

Get Internal UniqueID.

Returns
InternalID

◆ GetLeader()

Dtk_LeaderPtr Dtk_Annotation::GetLeader ( const Dtk_Size_t inPos) const
inherited

Gets the i'th leader.

Parameters
inPosThe leader position - 0 indexed -
Returns
The inPos'th leader

◆ GetLocation()

virtual Dtk_pnt Dtk_Annotation::GetLocation ( ) const
virtualinherited

Get the annoation location point.

Returns
The location point

◆ GetLocationAnchorType()

const Dtk_anchor_type& Dtk_Annotation::GetLocationAnchorType ( ) const
inherited

Gets the location anchor type - read only -.

Returns
The location anchor type.

◆ getNbcols()

Dtk_Size_t Dtk_Table::getNbcols ( )

Gets the number of colums in Dtk_Table.

Returns
the number of columns

◆ getNbrows()

Dtk_Size_t Dtk_Table::getNbrows ( )

Gets the number of rows in Dtk_Table.

Returns
the number of rows

◆ GetNumCols()

Dtk_Size_t Dtk_Table::GetNumCols ( ) const

Gets the Dtk_Table columns number.

Returns
The columns number.

◆ GetNumLeaders()

Dtk_Size_t Dtk_Annotation::GetNumLeaders ( ) const
inherited

Retrieves the number of leaders.

Returns
The number of leaders

◆ GetNumRows()

Dtk_Size_t Dtk_Table::GetNumRows ( ) const

Gets the Dtk_Table rows number.

Returns
The rows number.

◆ GetOffset()

Dtk_Double64 Dtk_Annotation::GetOffset ( ) const
inherited

Gets the annotation offset - read only -.

Returns
The annotation offset.
Warning
For internal use only

◆ GetRotationAngle()

Dtk_Double64 Dtk_Annotation::GetRotationAngle ( const Dtk_dir inXAxis = Dtk_dir(1, 0, 0),
const Dtk_dir inYAxis = Dtk_dir(0, 1, 0) 
) const
inherited

Gets the text rotation angle giving a reference base.

Parameters
inXAxisThe reference X Axis - default value = (1,0,0) -
inYAxisThe reference Y Axis - default value = (0,1,0) -
Returns
The rotation angle.

◆ GetSize()

◆ GetXAxis()

Dtk_dir Dtk_Annotation::GetXAxis ( ) const
inherited

Get the X Axis - read only -.

Returns
The X Axis.

◆ GetYAxis()

Dtk_dir Dtk_Annotation::GetYAxis ( ) const
inherited

Get the Y Axis - read only -.

Returns
The Y Axis.

◆ info()

Dtk_InfoPtr& Dtk_Entity::info ( )
inherited

◆ operator<<()

virtual std::ostream& Dtk_2dEntity::operator<< ( std::ostream &  o) const
virtualinherited
1846  {
1847  return o << "Dtk_2dEntity Base class";
1848  }

◆ operator[]() [1/2]

Dtk_OneCell* Dtk_Table::operator[] ( const Dtk_Size_t inPos)
protected

◆ operator[]() [2/2]

const Dtk_OneCell* Dtk_Table::operator[] ( const Dtk_Size_t inPos) const
protected

◆ PrepareTransfo()

virtual void Dtk_Entity::PrepareTransfo ( )
virtualinherited

Reimplemented in Dtk_OffsetSurface.

◆ ProcessTextsPlacement()

Dtk_ErrorStatus Dtk_Table::ProcessTextsPlacement ( )

Processes internal annotation placement - internal use only -.

Returns
dtkNoError if OK

◆ Reverse()

virtual Dtk_ErrorStatus Dtk_Annotation::Reverse ( )
virtualinherited

Reverses the Dtk_Annotation.

Reimplemented in Dtk_DatumTarget.

◆ Set_Texts()

void Dtk_Table::Set_Texts ( const Dtk_Size_t inRowIdx,
const Dtk_Size_t inColIdx,
Dtk_CompositeText  inText 
)

Sets the (inRowIdx,inColIdx)th text.

Parameters
inRowIdxLine index - 0 based -
inColIdxcolumn index - 0 based -
inTextText be put.

◆ SetAnchorPoint()

Dtk_ErrorStatus Dtk_Table::SetAnchorPoint ( const Dtk_pnt inNewLocation,
const Dtk_anchor_type inLocationAnchorType 
)
virtual

Sets the Dtk_Annotation anchor point.

Parameters
inNewLocationThe new location point.
inLocationAnchorTypeThe anchor type related to the new location.
Returns
dtkNoError if OK

Implements Dtk_Annotation.

◆ SetAsDeprecated()

Dtk_Annotation::SetAsDeprecated ( "Undefined"  ,
"Use Dtk_TextStyle::Justification()"   
) const
inherited

Get the justification type - read only -.

Returns
The justification type
Deprecated:
use the Dtk_TextStyle::Justification() instead

◆ SetLocation() [1/2]

Dtk_ErrorStatus Dtk_Table::SetLocation ( const Dtk_pnt inLocation)
virtual

Sets the location point of the Dtk_Annotation.

The location point is related to the anchor type

Parameters
inLocationthe location point
Returns
dtkNoError if OK

Implements Dtk_Annotation.

◆ SetLocation() [2/2]

Dtk_ErrorStatus Dtk_Annotation::SetLocation ( const Dtk_pnt location,
const Dtk_anchor_type inAnchorType 
)
inherited

Sets the location point of the Dtk_Annotation.

The location point is related to the anchor type

Parameters
locationthe location point
inAnchorTypeThe anchor type related to the new location.
Returns
dtkNoError if OK

◆ SetOffset()

Dtk_ErrorStatus Dtk_Table::SetOffset ( const Dtk_Double64 inOffset)
virtual

Sets the offset of the Dtk_Annotation.

The Offset is used to process bounding frames.

Parameters
inOffsetThe offset
Returns
dtkNoError if OK

Implements Dtk_Annotation.

◆ SetRotationAngle()

Dtk_ErrorStatus Dtk_Table::SetRotationAngle ( const Dtk_Double64 inRotationAngle)
virtual

Sets the annotation angle using the annotation base.

Parameters
inRotationAngleThe rotation angle to be set
Returns
dtkNoError if OK

Reimplemented from Dtk_Annotation.

◆ Text() [1/2]

Dtk_CompositeText& Dtk_Table::Text ( const Dtk_Size_t inRow,
const Dtk_Size_t inCol 
)

◆ Text() [2/2]

const Dtk_CompositeText& Dtk_Table::Text ( const Dtk_Size_t inRow,
const Dtk_Size_t inCol 
) const

Gets the (i,j)th text - get/set -.

Parameters
inRowText row index - 0 based -
inColText column index - 0 based -
Returns
The (inRow, inCol)th text.
See also
Text(const Dtk_Size_t &, const Dtk_Size_t &) const
SetText(const Dtk_Size_t &, const Dtk_Size_t &, const Dtk_CompositeText &)

◆ Transform()

Dtk_ErrorStatus Dtk_Table::Transform ( const Dtk_transfo inTransfo)
virtual

Applies a transformation matrix to the entity. //!

Parameters
inTransfoThe transformation matrix to apply.

Implements Dtk_Annotation.

Friends And Related Function Documentation

◆ Dtk_SmartPtr< Dtk_Table >

friend class Dtk_SmartPtr< Dtk_Table >
friend

Field Documentation

◆ _Private

Dtk_Handle* Dtk_Annotation::_Private
protectedinherited

◆ count_

unsigned long Dtk_Object::count_
protectedinherited

◆ nbCells_Col

Dtk_tab< Dtk_Size_t > Dtk_Table::nbCells_Col
protected

number of cells on each column (if we consider mergers)

◆ nbCells_Line

Dtk_tab< Dtk_Size_t > Dtk_Table::nbCells_Line
protected

number of cells on each line (if we consider mergers)

◆ nbCol

Dtk_Size_t Dtk_Table::nbCol
protected

Number of columns.

◆ nbRows

Dtk_Size_t Dtk_Table::nbRows
protected

Number of lines.

◆ tableOfCell

Dtk_OneCell** Dtk_Table::tableOfCell
protected

A table of cells.

DTK_TYPE_ANNOTATION
@ DTK_TYPE_ANNOTATION
Definition: define.h:436
DTK_TYPE_ENTITY
@ DTK_TYPE_ENTITY
Definition: define.h:466
Dtk_Annotation::_typeID
@ _typeID
Definition: util_draw_dtk.hpp:2543
Dtk_Table::_typeID
@ _typeID
Definition: util_draw_dtk.hpp:4429
Dtk_Entity::_typeID
@ _typeID
Definition: util_ent_dtk.hpp:333
Dtk_Table::_CheckRowCol
void _CheckRowCol(const Dtk_Size_t inRow, const Dtk_Size_t inCol) const
Dtk_Table::Dtk_Table
Dtk_Table()
Base constructor.
Dtk_2dEntity::_typeID
@ _typeID
Definition: util_draw_dtk.hpp:1788
DTK_TYPE_TABLE
@ DTK_TYPE_TABLE
Definition: define.h:489
DTK_TYPE_2D_ENTITY
@ DTK_TYPE_2D_ENTITY
Definition: define.h:471
Dtk_Table::operator[]
const Dtk_OneCell * operator[](const Dtk_Size_t &inPos) const