-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCriticalPoint.h
More file actions
40 lines (36 loc) · 863 Bytes
/
CriticalPoint.h
File metadata and controls
40 lines (36 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* File: CriticalPoint.h
* Author: zoizoi
*
* Created on 22 May 2011, 11:13
*/
#ifndef CRITICALPOINT_H
#define CRITICALPOINT_H
#include "vtkSmartPointer.h"
#include "vtkActor.h"
#include "vtkSphereSource.h"
#include "vtkPolyDataMapper.h"
#include "vtkProperty.h"
class CriticalPoint {
public:
CriticalPoint(int x,int y, int z,int step, float value, int,int,int);
CriticalPoint(const CriticalPoint& orig);
virtual ~CriticalPoint();
vtkSmartPointer<vtkActor> getActor();
float getXFloat(){
return ((float)(x))/((float)xDim);
}
float getYFloat(){
return ((float)(y))/((float)yDim);
}
float getZFloat(){
return ((float)(z))/((float)zDim);
}
int xDim,yDim,zDim;
int x,y,z;
int step;
float value;
vtkSmartPointer<vtkActor> actor;
private:
};
#endif /* CRITICALPOINT_H */