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::Win Class Reference

#include <win.h>

List of all members.

Public Member Functions

 Win (int Width=600, int Height=600, double BgRed=1.0, double BgGreen=1.0, double BgBlue=1.0)
 Win (vtkRenderWindowInteractor *vtkRWI, int Width=600, int Height=600, double BgRed=1.0, double BgGreen=1.0, double BgBlue=1.0)
 ~Win ()
void AddActor (vtkActor *TheActor, bool RstCam=true)
void DelActor (vtkActor *TheActor)
void AddLight (vtkLight *Light)
void Render ()
void Show ()
void WritePNG (char const *Filename, bool Large=false, int Magnification=1)
void Camera (double xUp, double yUp, double zUp, double xFoc, double yFoc, double zFoc, double xPos, double yPos, double zPos)
void Parallel (bool ParallelProjection=true)
vtkRenderer * GetRen ()
vtkCamera * GetCamera ()
WinSetViewDefault (bool RevCam=false)
WinSetViewPIplane (bool RevCam=false)
WinSetBgColor (char const *Name="white")
WinSetBgColor (double BgRed, double BgGreen, double BgBlue)

Constructor & Destructor Documentation

VTK::Win::Win ( int  Width = 600,
int  Height = 600,
double  BgRed = 1.0,
double  BgGreen = 1.0,
double  BgBlue = 1.0 
) [inline]
VTK::Win::Win ( vtkRenderWindowInteractor *  vtkRWI,
int  Width = 600,
int  Height = 600,
double  BgRed = 1.0,
double  BgGreen = 1.0,
double  BgBlue = 1.0 
) [inline]
VTK::Win::~Win ( ) [inline]

Member Function Documentation

void VTK::Win::AddActor ( vtkActor *  TheActor,
bool  RstCam = true 
) [inline]
void VTK::Win::AddLight ( vtkLight *  Light) [inline]
void VTK::Win::Camera ( double  xUp,
double  yUp,
double  zUp,
double  xFoc,
double  yFoc,
double  zFoc,
double  xPos,
double  yPos,
double  zPos 
) [inline]
void VTK::Win::DelActor ( vtkActor *  TheActor) [inline]
vtkCamera* VTK::Win::GetCamera ( ) [inline]
vtkRenderer* VTK::Win::GetRen ( ) [inline]
void VTK::Win::Parallel ( bool  ParallelProjection = true) [inline]
void VTK::Win::Render ( ) [inline]
Win & VTK::Win::SetBgColor ( char const *  Name = "white") [inline]
Win & VTK::Win::SetBgColor ( double  BgRed,
double  BgGreen,
double  BgBlue 
) [inline]
Win & VTK::Win::SetViewDefault ( bool  RevCam = false) [inline]
Win & VTK::Win::SetViewPIplane ( bool  RevCam = false) [inline]
void VTK::Win::Show ( ) [inline]
void VTK::Win::WritePNG ( char const *  Filename,
bool  Large = false,
int  Magnification = 1 
) [inline]

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