ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PlyValueVertex< Real > Class Template Reference

#include <Ply.h>

Collaboration diagram for PlyValueVertex< Real >:

Public Types

typedef PlyValueVertex Wrapper
 

Public Member Functions

 PlyValueVertex (void)
 
 PlyValueVertex (Point3D< Real > p, Real v)
 
PlyValueVertex operator+ (PlyValueVertex p) const
 
PlyValueVertex operator- (PlyValueVertex p) const
 
template<class _Real >
PlyValueVertex operator* (_Real s) const
 
template<class _Real >
PlyValueVertex operator/ (_Real s) const
 
PlyValueVertexoperator+= (PlyValueVertex p)
 
PlyValueVertexoperator-= (PlyValueVertex p)
 
template<class _Real >
PlyValueVertexoperator*= (_Real s)
 
template<class _Real >
PlyValueVertexoperator/= (_Real s)
 

Public Attributes

Point3D< Real > point
 
Real value
 

Static Public Attributes

static const int ReadComponents =4
 
static const int WriteComponents =4
 
static PlyProperty ReadProperties []
 
static PlyProperty WriteProperties []
 

Detailed Description

template<class Real>
class PlyValueVertex< Real >

Definition at line 288 of file Ply.h.

Member Typedef Documentation

◆ Wrapper

template<class Real >
typedef PlyValueVertex PlyValueVertex< Real >::Wrapper

Definition at line 291 of file Ply.h.

Constructor & Destructor Documentation

◆ PlyValueVertex() [1/2]

◆ PlyValueVertex() [2/2]

template<class Real >
PlyValueVertex< Real >::PlyValueVertex ( Point3D< Real >  p,
Real  v 
)
inline

Definition at line 302 of file Ply.h.

Member Function Documentation

◆ operator*()

template<class Real >
template<class _Real >
PlyValueVertex PlyValueVertex< Real >::operator* ( _Real  s) const
inline

◆ operator*=()

template<class Real >
template<class _Real >
PlyValueVertex& PlyValueVertex< Real >::operator*= ( _Real  s)
inline

Definition at line 309 of file Ply.h.

References PlyValueVertex< Real >::value.

◆ operator+()

template<class Real >
PlyValueVertex PlyValueVertex< Real >::operator+ ( PlyValueVertex< Real >  p) const
inline

◆ operator+=()

template<class Real >
PlyValueVertex& PlyValueVertex< Real >::operator+= ( PlyValueVertex< Real >  p)
inline

Definition at line 307 of file Ply.h.

References PlyValueVertex< Real >::point, and PlyValueVertex< Real >::value.

◆ operator-()

template<class Real >
PlyValueVertex PlyValueVertex< Real >::operator- ( PlyValueVertex< Real >  p) const
inline

◆ operator-=()

template<class Real >
PlyValueVertex& PlyValueVertex< Real >::operator-= ( PlyValueVertex< Real >  p)
inline

Definition at line 308 of file Ply.h.

References PlyValueVertex< Real >::point, and PlyValueVertex< Real >::value.

◆ operator/()

template<class Real >
template<class _Real >
PlyValueVertex PlyValueVertex< Real >::operator/ ( _Real  s) const
inline

◆ operator/=()

template<class Real >
template<class _Real >
PlyValueVertex& PlyValueVertex< Real >::operator/= ( _Real  s)
inline

Definition at line 310 of file Ply.h.

References PlyValueVertex< Real >::value.

Member Data Documentation

◆ point

◆ ReadComponents

template<class Real >
const int PlyValueVertex< Real >::ReadComponents =4
static

Definition at line 293 of file Ply.h.

◆ ReadProperties

template<class Real >
PlyProperty PlyValueVertex< Real >::ReadProperties
static
Initial value:
=
{
{ strdup ( "x" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , point.coords[0] ) ) , 0 , 0 , 0 , 0 },
{ strdup ( "y" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , point.coords[1] ) ) , 0 , 0 , 0 , 0 },
{ strdup ( "z" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , point.coords[2] ) ) , 0 , 0 , 0 , 0 },
{ strdup ( "value" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , value ) ) , 0 , 0 , 0 , 0 }
}
Real value
Definition: Ply.h:299
#define offsetof(STRUCTURE, FIELD)
Definition: sqlite3.c:14241
Definition: lsd.c:149

Definition at line 295 of file Ply.h.

◆ value

◆ WriteComponents

template<class Real >
const int PlyValueVertex< Real >::WriteComponents =4
static

Definition at line 294 of file Ply.h.

◆ WriteProperties

template<class Real >
PlyProperty PlyValueVertex< Real >::WriteProperties
static
Initial value:
=
{
{ strdup ( "x" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , point.coords[0] ) ) , 0 , 0 , 0 , 0 },
{ strdup ( "y" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , point.coords[1] ) ) , 0 , 0 , 0 , 0 },
{ strdup ( "z" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , point.coords[2] ) ) , 0 , 0 , 0 , 0 },
{ strdup ( "value" ) , PLYType< Real >() , PLYType< Real >() , int( offsetof( PlyValueVertex , value ) ) , 0 , 0 , 0 , 0 }
}

Definition at line 296 of file Ply.h.


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