VTK  9.5.20250709
Public Member Functions | List of all members
vtkHyperTreeGridScales Class Reference

Dynamic generation of scales for vtkHyperTree. More...

#include <vtkHyperTreeGridScales.h>

Public Member Functions

 vtkHyperTreeGridScales (double branchfactor, const double scale[3])
 Build this class from the original scale mesh and subdivision factor.
 
 ~vtkHyperTreeGridScales ()=default
 
double GetBranchFactor () const
 
double * GetScale (unsigned int level)
 
double * ComputeScale (unsigned int level)
 
double GetScaleX (unsigned int level)
 
double ComputeScaleX (unsigned int level)
 
double GetScaleY (unsigned int level)
 
double ComputeScaleY (unsigned int level)
 
double GetScaleZ (unsigned int level)
 
double ComputeScaleZ (unsigned int level)
 
void GetScale (unsigned int level, double scale[3])
 
void ComputeScale (unsigned int level, double scale[3])
 Return the mesh scale at the given level.
 
unsigned int GetCurrentFailLevel () const
 

Detailed Description

Dynamic generation of scales for vtkHyperTree.

Given a level 0 scame, compute & cache cell scales for lower levels.

See also
vtkHyperTree vtkHyperTreeGrid
Thanks:
This class was written by Jacques-Bernard Lekien (CEA) This work was supported by Commissariat a l'Energie Atomique CEA, DAM, DIF, F-91297 Arpajon, France.

Definition at line 28 of file vtkHyperTreeGridScales.h.

Constructor & Destructor Documentation

◆ vtkHyperTreeGridScales()

vtkHyperTreeGridScales::vtkHyperTreeGridScales ( double  branchfactor,
const double  scale[3] 
)
inline

Build this class from the original scale mesh and subdivision factor.

Definition at line 34 of file vtkHyperTreeGridScales.h.

◆ ~vtkHyperTreeGridScales()

vtkHyperTreeGridScales::~vtkHyperTreeGridScales ( )
default

Member Function Documentation

◆ GetBranchFactor()

double vtkHyperTreeGridScales::GetBranchFactor ( ) const
inline

Definition at line 43 of file vtkHyperTreeGridScales.h.

◆ GetScale() [1/2]

double * vtkHyperTreeGridScales::GetScale ( unsigned int  level)
inline

Definition at line 46 of file vtkHyperTreeGridScales.h.

◆ ComputeScale() [1/2]

double * vtkHyperTreeGridScales::ComputeScale ( unsigned int  level)
inline

Definition at line 48 of file vtkHyperTreeGridScales.h.

◆ GetScaleX()

double vtkHyperTreeGridScales::GetScaleX ( unsigned int  level)
inline

Definition at line 55 of file vtkHyperTreeGridScales.h.

◆ ComputeScaleX()

double vtkHyperTreeGridScales::ComputeScaleX ( unsigned int  level)
inline

Definition at line 57 of file vtkHyperTreeGridScales.h.

◆ GetScaleY()

double vtkHyperTreeGridScales::GetScaleY ( unsigned int  level)
inline

Definition at line 64 of file vtkHyperTreeGridScales.h.

◆ ComputeScaleY()

double vtkHyperTreeGridScales::ComputeScaleY ( unsigned int  level)
inline

Definition at line 66 of file vtkHyperTreeGridScales.h.

◆ GetScaleZ()

double vtkHyperTreeGridScales::GetScaleZ ( unsigned int  level)
inline

Definition at line 73 of file vtkHyperTreeGridScales.h.

◆ ComputeScaleZ()

double vtkHyperTreeGridScales::ComputeScaleZ ( unsigned int  level)
inline

Definition at line 75 of file vtkHyperTreeGridScales.h.

◆ GetScale() [2/2]

void vtkHyperTreeGridScales::GetScale ( unsigned int  level,
double  scale[3] 
)
inline

Definition at line 82 of file vtkHyperTreeGridScales.h.

◆ ComputeScale() [2/2]

void vtkHyperTreeGridScales::ComputeScale ( unsigned int  level,
double  scale[3] 
)
inline

Return the mesh scale at the given level.

Definition at line 87 of file vtkHyperTreeGridScales.h.

◆ GetCurrentFailLevel()

unsigned int vtkHyperTreeGridScales::GetCurrentFailLevel ( ) const
inline

Definition at line 93 of file vtkHyperTreeGridScales.h.


The documentation for this class was generated from the following file: