MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
VTK::SGrid Class Reference

#include <sgrid.h>

List of all members.

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)
SGridResize (int N[3], double L[6])
SGridResize (Array< int > const &N, Array< double > const &L)
SGridResize (int Nx, double Xmin, double Xmax, int Ny, double Ymin, double Ymax, int Nz, double Zmin, double Zmax)
SGridSetColor (char const *Name="black", double Opacity=1.0)
SGridSetFunc (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)

Constructor & Destructor Documentation

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]

Member Function Documentation

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]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines