![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <spheres.h>
Public Member Functions | |
Spheres () | |
~Spheres () | |
Spheres (Array< Vec3_t > const &X, Array< double > const &R, int ThetaRes=20, int PhiRes=20) | |
Spheres (Table const &XYZR, int ThetaRes=20, int PhiRes=20) | |
Spheres (Array< double > const &X, Array< double > const &Y, Array< double > const &Z, Array< double > const &R, int ThetaRes=20, int PhiRes=20) | |
Spheres & | SetSpheres (Array< Vec3_t > const &X, Array< double > const *R=NULL) |
Spheres & | SetSpheres (Table const &XYZR) |
Spheres & | SetSpheres (Array< double > const &X, Array< double > const &Y, Array< double > const &Z, Array< double > const *R=NULL) |
Spheres & | SetCenter (int Id, Vec3_t const &X) |
Spheres & | SetRadius (int Id, double R) |
Spheres & | SetResolution (int ThetaRes=20, int PhiRes=20) |
Spheres & | SetColor (char const *Name="red", double Opacity=0.8) |
void | SetNumSpheres (int Num) |
void | InsertSphere (int Id, double x, double y, double z, double r) |
void | InsertSphere (int Id, Vec3_t const &X, double r) |
void | SetSphere (int Id, Vec3_t const &X, double r) |
void | Modified () |
void | ShowIds (double OriX=90, double OriY=90, double OriZ=45, double Scale=0.003, int SizePt=14, bool Shadow=true, char const *Color="black") |
void | AddTo (VTK::Win &win, bool RstCam=true) |
void | DelFrom (VTK::Win &win) |
Public Attributes | |
int const * | Ids |
VTK::Spheres::Spheres | ( | ) | [inline] |
VTK::Spheres::~Spheres | ( | ) | [inline] |
VTK::Spheres::Spheres | ( | Array< Vec3_t > const & | X, |
Array< double > const & | R, | ||
int | ThetaRes = 20 , |
||
int | PhiRes = 20 |
||
) | [inline] |
VTK::Spheres::Spheres | ( | Table const & | XYZR, |
int | ThetaRes = 20 , |
||
int | PhiRes = 20 |
||
) | [inline] |
VTK::Spheres::Spheres | ( | Array< double > const & | X, |
Array< double > const & | Y, | ||
Array< double > const & | Z, | ||
Array< double > const & | R, | ||
int | ThetaRes = 20 , |
||
int | PhiRes = 20 |
||
) | [inline] |
void VTK::Spheres::AddTo | ( | VTK::Win & | win, |
bool | RstCam = true |
||
) | [inline] |
void VTK::Spheres::DelFrom | ( | VTK::Win & | win | ) | [inline] |
void VTK::Spheres::InsertSphere | ( | int | Id, |
double | x, | ||
double | y, | ||
double | z, | ||
double | r | ||
) | [inline] |
void VTK::Spheres::InsertSphere | ( | int | Id, |
Vec3_t const & | X, | ||
double | r | ||
) | [inline] |
void VTK::Spheres::Modified | ( | ) | [inline] |
Spheres & VTK::Spheres::SetCenter | ( | int | Id, |
Vec3_t const & | X | ||
) | [inline] |
Spheres & VTK::Spheres::SetColor | ( | char const * | Name = "red" , |
double | Opacity = 0.8 |
||
) | [inline] |
void VTK::Spheres::SetNumSpheres | ( | int | Num | ) | [inline] |
Spheres & VTK::Spheres::SetRadius | ( | int | Id, |
double | R | ||
) | [inline] |
Spheres & VTK::Spheres::SetResolution | ( | int | ThetaRes = 20 , |
int | PhiRes = 20 |
||
) | [inline] |
void VTK::Spheres::SetSphere | ( | int | Id, |
Vec3_t const & | X, | ||
double | r | ||
) | [inline] |
Spheres & VTK::Spheres::SetSpheres | ( | Array< Vec3_t > const & | X, |
Array< double > const * | R = NULL |
||
) | [inline] |
Spheres & VTK::Spheres::SetSpheres | ( | Table const & | XYZR | ) | [inline] |
Spheres & VTK::Spheres::SetSpheres | ( | Array< double > const & | X, |
Array< double > const & | Y, | ||
Array< double > const & | Z, | ||
Array< double > const * | R = NULL |
||
) | [inline] |
void VTK::Spheres::ShowIds | ( | double | OriX = 90 , |
double | OriY = 90 , |
||
double | OriZ = 45 , |
||
double | Scale = 0.003 , |
||
int | SizePt = 14 , |
||
bool | Shadow = true , |
||
char const * | Color = "black" |
||
) | [inline] |
int const* VTK::Spheres::Ids |