source: trunk/vizservers/nanovis/PointSet.h @ 825

Last change on this file since 825 was 825, checked in by vrinside, 14 years ago

Image Loader initialization

  • Add BMP loader in Nv.cpp

Point Renderer code added..

  • Put a data container and manage the containters with std::vector
  • Renderer 1) scale factor part should be taken into account
File size: 780 bytes
Line 
1#ifndef __POINT_SET_H__
2#define __POINT_SET_H__
3
4#include <PCASplit.h>
5#include <Vector4.h>
6
7class PointSet {
8    unsigned int _sortLevel;
9    bool _visible;
10    PCA::ClusterAccel* _cluster;
11public :
12    PointSet();
13    ~PointSet();
14
15public :
16    void initialize(Vector4* values, const unsigned int count);
17    bool isVisible() const;
18    void setVisible(bool visible);
19    unsigned int getSortLevel()const;
20    PCA::ClusterAccel* getCluster();
21    void updateColor();
22};
23
24inline bool PointSet::isVisible() const
25{
26    return _visible;
27}
28
29inline void PointSet::setVisible(bool visible)
30{
31    _visible = visible;
32}
33
34inline unsigned int PointSet::getSortLevel()const
35{
36    return _sortLevel;
37}
38
39inline PCA::ClusterAccel* PointSet::getCluster()
40{
41    return _cluster;
42}
43
44
45#endif //
Note: See TracBrowser for help on using the repository browser.