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 | Public Attributes
VTK::Spheres Class Reference

#include <spheres.h>

List of all members.

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)
SpheresSetSpheres (Array< Vec3_t > const &X, Array< double > const *R=NULL)
SpheresSetSpheres (Table const &XYZR)
SpheresSetSpheres (Array< double > const &X, Array< double > const &Y, Array< double > const &Z, Array< double > const *R=NULL)
SpheresSetCenter (int Id, Vec3_t const &X)
SpheresSetRadius (int Id, double R)
SpheresSetResolution (int ThetaRes=20, int PhiRes=20)
SpheresSetColor (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

Constructor & Destructor Documentation

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]

Member Function Documentation

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]

Member Data Documentation

int const* VTK::Spheres::Ids

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