![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <sgrid.h>
Public Member Functions | |
SGrid () | |
~SGrid () | |
SGrid (int N[3], double L[6], GridCallBack Func=NULL, void *UserData=NULL) | |
SGrid (Array< int > const &N, Array< double > const &L, GridCallBack Func=NULL, void *UserData=NULL) | |
SGrid (int Nx, double Xmin, double Xmax, int Ny, double Ymin, double Ymax, int Nz, double Zmin, double Zmax, GridCallBack Func=NULL, void *UserData=NULL) | |
SGrid & | Resize (int N[3], double L[6]) |
SGrid & | Resize (Array< int > const &N, Array< double > const &L) |
SGrid & | Resize (int Nx, double Xmin, double Xmax, int Ny, double Ymin, double Ymax, int Nz, double Zmin, double Zmax) |
SGrid & | SetColor (char const *Name="black", double Opacity=1.0) |
SGrid & | SetFunc (GridCallBack Func, void *UserData=NULL) |
double | GetF (int i, int j, int k) const |
void | SetF (int i, int j, int k, double F) |
void | SetCMap (double Fmin, double Fmax, char const *Name="Diverging") |
void | SetCMap (char const *Name="Diverging") |
void | RescaleCMap () |
int | Size () const |
void | GetPoint (int i, Vec3_t &x) const |
void | SetPoint (int i, Vec3_t &x) |
vtkStructuredGrid * | GetGrid () |
vtkPoints * | GetPoints () |
vtkDoubleArray * | GetScalars () |
vtkDoubleArray * | GetVectors () |
void | ShowWire () |
void | ShowSurface () |
void | ShowPoints (int PtSize=4) |
void | ShowIds (double OriX=90, double OriY=90, double OriZ=45, double Scale=0.003, int SizePt=14, bool Shadow=true, char const *Color="blue") |
void | AddTo (VTK::Win &win) |
void | WriteVTK (char const *Filekey) |
void | FilterV (double F=0.0, double Tol=1.0e-3, bool Normalize=false) |
VTK::SGrid::SGrid | ( | ) | [inline] |
VTK::SGrid::~SGrid | ( | ) | [inline] |
VTK::SGrid::SGrid | ( | int | N[3], |
double | L[6], | ||
GridCallBack | Func = NULL , |
||
void * | UserData = NULL |
||
) | [inline] |
VTK::SGrid::SGrid | ( | Array< int > const & | N, |
Array< double > const & | L, | ||
GridCallBack | Func = NULL , |
||
void * | UserData = NULL |
||
) | [inline] |
VTK::SGrid::SGrid | ( | int | Nx, |
double | Xmin, | ||
double | Xmax, | ||
int | Ny, | ||
double | Ymin, | ||
double | Ymax, | ||
int | Nz, | ||
double | Zmin, | ||
double | Zmax, | ||
GridCallBack | Func = NULL , |
||
void * | UserData = NULL |
||
) | [inline] |
void VTK::SGrid::AddTo | ( | VTK::Win & | win | ) | [inline] |
void VTK::SGrid::FilterV | ( | double | F = 0.0 , |
double | Tol = 1.0e-3 , |
||
bool | Normalize = false |
||
) | [inline] |
double VTK::SGrid::GetF | ( | int | i, |
int | j, | ||
int | k | ||
) | const [inline] |
vtkStructuredGrid* VTK::SGrid::GetGrid | ( | ) | [inline] |
void VTK::SGrid::GetPoint | ( | int | i, |
Vec3_t & | x | ||
) | const [inline] |
vtkPoints* VTK::SGrid::GetPoints | ( | ) | [inline] |
vtkDoubleArray* VTK::SGrid::GetScalars | ( | ) | [inline] |
vtkDoubleArray* VTK::SGrid::GetVectors | ( | ) | [inline] |
void VTK::SGrid::RescaleCMap | ( | ) | [inline] |
SGrid& VTK::SGrid::Resize | ( | int | N[3], |
double | L[6] | ||
) | [inline] |
SGrid& VTK::SGrid::Resize | ( | Array< int > const & | N, |
Array< double > const & | L | ||
) | [inline] |
SGrid & VTK::SGrid::Resize | ( | int | Nx, |
double | Xmin, | ||
double | Xmax, | ||
int | Ny, | ||
double | Ymin, | ||
double | Ymax, | ||
int | Nz, | ||
double | Zmin, | ||
double | Zmax | ||
) | [inline] |
void VTK::SGrid::SetCMap | ( | double | Fmin, |
double | Fmax, | ||
char const * | Name = "Diverging" |
||
) | [inline] |
void VTK::SGrid::SetCMap | ( | char const * | Name = "Diverging" | ) | [inline] |
SGrid & VTK::SGrid::SetColor | ( | char const * | Name = "black" , |
double | Opacity = 1.0 |
||
) | [inline] |
void VTK::SGrid::SetF | ( | int | i, |
int | j, | ||
int | k, | ||
double | F | ||
) | [inline] |
SGrid& VTK::SGrid::SetFunc | ( | GridCallBack | Func, |
void * | UserData = NULL |
||
) | [inline] |
void VTK::SGrid::SetPoint | ( | int | i, |
Vec3_t & | x | ||
) | [inline] |
void VTK::SGrid::ShowIds | ( | double | OriX = 90 , |
double | OriY = 90 , |
||
double | OriZ = 45 , |
||
double | Scale = 0.003 , |
||
int | SizePt = 14 , |
||
bool | Shadow = true , |
||
char const * | Color = "blue" |
||
) | [inline] |
void VTK::SGrid::ShowPoints | ( | int | PtSize = 4 | ) | [inline] |
void VTK::SGrid::ShowSurface | ( | ) | [inline] |
void VTK::SGrid::ShowWire | ( | ) | [inline] |
int VTK::SGrid::Size | ( | ) | const [inline] |
void VTK::SGrid::WriteVTK | ( | char const * | Filekey | ) | [inline] |