Public Types | Public Member Functions | Public Attributes | Protected Attributes
vcg::VisShader< MESH_TYPE, MAXVIS > Class Template Reference

#include <visshader.h>

List of all members.

Public Types

enum  { VisMax = MAXVIS }
typedef Box3< ScalarTypeBox3x
typedef MESH_TYPE::CoordType CoordType
typedef MESH_TYPE::FaceIterator FaceIterator
typedef MESH_TYPE::FaceType FaceType
typedef Matrix44< ScalarTypeMatrix44x
typedef Point3< typename
MESH_TYPE::ScalarType
Point3x
typedef MESH_TYPE::ScalarType ScalarType
typedef MESH_TYPE::VertexIterator VertexIterator
typedef MESH_TYPE::VertexPointer VertexPointer
typedef MESH_TYPE::VertexType VertexType

Public Member Functions

void AddPixelCount (std::vector< float > &_VV, const std::vector< int > &PixSeen)
void Clear ()
void Compute (CallBack *cb)
void ComputeAverageVisibilityDirection ()
void ComputeHalf (int nn, Point3x &dir, CallBack *cb)
void ComputeSingle (Point3x &dir, std::vector< Point3x > &vv, CallBack *cb)
void ComputeSingleDirection (Point3x BaseDir, std::vector< int > &PixSeen, CallBack *cb=DummyCallBack)
void ComputeUniform (int nn, std::vector< Point3x > &vv, CallBack *cb)
void ComputeUniformCone (int nn, std::vector< Point3x > &vv, ScalarType AngleRad, Point3x &ConeDir, CallBack *cb)
void DirectionalLightingEnvironment (std::vector< float > &LE, Point3x dir, ScalarType DegAngle1, ScalarType DegAngle2)
void GenMatrix (Matrix44d &a, Point3d Axis, double angle)
virtual int GLAccumPixel (std::vector< int > &PixSeen)=0
void InitGL ()
virtual void MapVisibility (float Gamma=1, float LowPass=0, float HighPass=1, float Scale=1.0)=0
virtual bool ReadVisibility (const char *)
void RestoreGL ()
void SetupOrthoViewMatrix (Point3x &ViewDir, int subx, int suby, int LocSplit)
int SplittedRendering (Point3x &ViewDir, std::vector< int > &PixSeen, CallBack *cb=DummyCallBack)
 VisShader (MESH_TYPE &me)
virtual bool WriteVisibility (const char *)

Public Attributes

bool CullFlag
bool IsClosedFlag
MESH_TYPE & m
std::vector< MESH_TYPE * > OMV
int SplitNum
std::vector< Point3xVN
std::vector< float > VV
float ZTWIST

Protected Attributes

bool CameraViewing

Detailed Description

template<class MESH_TYPE, int MAXVIS = 2048>
class vcg::VisShader< MESH_TYPE, MAXVIS >

Definition at line 68 of file visshader.h.


Member Typedef Documentation

template<class MESH_TYPE, int MAXVIS = 2048>
typedef Box3<ScalarType> vcg::VisShader< MESH_TYPE, MAXVIS >::Box3x

Definition at line 92 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::CoordType vcg::VisShader< MESH_TYPE, MAXVIS >::CoordType

Definition at line 84 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::FaceIterator vcg::VisShader< MESH_TYPE, MAXVIS >::FaceIterator

Definition at line 89 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::FaceType vcg::VisShader< MESH_TYPE, MAXVIS >::FaceType

Definition at line 90 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef Matrix44<ScalarType> vcg::VisShader< MESH_TYPE, MAXVIS >::Matrix44x

Definition at line 91 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef Point3<typename MESH_TYPE::ScalarType> vcg::VisShader< MESH_TYPE, MAXVIS >::Point3x

Definition at line 82 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::ScalarType vcg::VisShader< MESH_TYPE, MAXVIS >::ScalarType

Definition at line 85 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::VertexIterator vcg::VisShader< MESH_TYPE, MAXVIS >::VertexIterator

Definition at line 88 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::VertexPointer vcg::VisShader< MESH_TYPE, MAXVIS >::VertexPointer

Definition at line 87 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
typedef MESH_TYPE::VertexType vcg::VisShader< MESH_TYPE, MAXVIS >::VertexType

Definition at line 86 of file visshader.h.


Member Enumeration Documentation

template<class MESH_TYPE, int MAXVIS = 2048>
anonymous enum
Enumerator:
VisMax 

Definition at line 71 of file visshader.h.


Constructor & Destructor Documentation

template<class MESH_TYPE, int MAXVIS = 2048>
vcg::VisShader< MESH_TYPE, MAXVIS >::VisShader ( MESH_TYPE &  me) [inline]

Definition at line 72 of file visshader.h.


Member Function Documentation

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::AddPixelCount ( std::vector< float > &  _VV,
const std::vector< int > &  PixSeen 
) [inline]

Definition at line 160 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::Clear ( ) [inline]

Definition at line 128 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::Compute ( CallBack cb) [inline]

Definition at line 184 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::ComputeAverageVisibilityDirection ( ) [inline]

Definition at line 325 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::ComputeHalf ( int  nn,
Point3x dir,
CallBack cb 
) [inline]

Definition at line 208 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::ComputeSingle ( Point3x dir,
std::vector< Point3x > &  vv,
CallBack cb 
) [inline]

Definition at line 251 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::ComputeSingleDirection ( Point3x  BaseDir,
std::vector< int > &  PixSeen,
CallBack cb = DummyCallBack 
) [inline]

Definition at line 315 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::ComputeUniform ( int  nn,
std::vector< Point3x > &  vv,
CallBack cb 
) [inline]

Definition at line 237 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::ComputeUniformCone ( int  nn,
std::vector< Point3x > &  vv,
ScalarType  AngleRad,
Point3x ConeDir,
CallBack cb 
) [inline]

Definition at line 224 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::DirectionalLightingEnvironment ( std::vector< float > &  LE,
Point3x  dir,
ScalarType  DegAngle1,
ScalarType  DegAngle2 
) [inline]

Definition at line 347 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::GenMatrix ( Matrix44d a,
Point3d  Axis,
double  angle 
) [inline]

Definition at line 275 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
virtual int vcg::VisShader< MESH_TYPE, MAXVIS >::GLAccumPixel ( std::vector< int > &  PixSeen) [pure virtual]
template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::InitGL ( ) [inline]

Definition at line 131 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
virtual void vcg::VisShader< MESH_TYPE, MAXVIS >::MapVisibility ( float  Gamma = 1,
float  LowPass = 0,
float  HighPass = 1,
float  Scale = 1.0 
) [pure virtual]
template<class MESH_TYPE, int MAXVIS = 2048>
virtual bool vcg::VisShader< MESH_TYPE, MAXVIS >::ReadVisibility ( const char *  ) [inline, virtual]

Definition at line 122 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::RestoreGL ( ) [inline]

Definition at line 141 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
void vcg::VisShader< MESH_TYPE, MAXVIS >::SetupOrthoViewMatrix ( Point3x ViewDir,
int  subx,
int  suby,
int  LocSplit 
) [inline]

Definition at line 297 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
int vcg::VisShader< MESH_TYPE, MAXVIS >::SplittedRendering ( Point3x ViewDir,
std::vector< int > &  PixSeen,
CallBack cb = DummyCallBack 
) [inline]

Definition at line 262 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
virtual bool vcg::VisShader< MESH_TYPE, MAXVIS >::WriteVisibility ( const char *  ) [inline, virtual]

Definition at line 123 of file visshader.h.


Member Data Documentation

template<class MESH_TYPE, int MAXVIS = 2048>
bool vcg::VisShader< MESH_TYPE, MAXVIS >::CameraViewing [protected]

Definition at line 111 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
bool vcg::VisShader< MESH_TYPE, MAXVIS >::CullFlag

Definition at line 108 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
bool vcg::VisShader< MESH_TYPE, MAXVIS >::IsClosedFlag

Definition at line 106 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
MESH_TYPE& vcg::VisShader< MESH_TYPE, MAXVIS >::m

Definition at line 95 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
std::vector<MESH_TYPE *> vcg::VisShader< MESH_TYPE, MAXVIS >::OMV

Definition at line 97 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
int vcg::VisShader< MESH_TYPE, MAXVIS >::SplitNum

Definition at line 109 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
std::vector< Point3x > vcg::VisShader< MESH_TYPE, MAXVIS >::VN

Definition at line 103 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
std::vector<float> vcg::VisShader< MESH_TYPE, MAXVIS >::VV

Definition at line 102 of file visshader.h.

template<class MESH_TYPE, int MAXVIS = 2048>
float vcg::VisShader< MESH_TYPE, MAXVIS >::ZTWIST

Definition at line 107 of file visshader.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:23