HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_VDB Class Referenceabstract

#include <HOM_VDB.h>

+ Inheritance diagram for HOM_VDB:

Public Member Functions

 HOM_VDB ()
 
 HOM_VDB (const HOM_VDB &volume)
 
 ~HOM_VDB () override
 
virtual double sample (const std::vector< double > &position)=0
 
virtual HOM_Vector3samplev (const std::vector< double > &position)=0
 
virtual HOM_Vector3gradient (const std::vector< double > &position)=0
 
virtual double voxel (const std::vector< int > &index)=0
 
virtual std::vector< intresolution ()=0
 
virtual HOM_Vector3indexToPos (const std::vector< int > &index)=0
 
virtual std::vector< intposToIndex (const std::vector< double > &position)=0
 
virtual bool isSDF ()=0
 
virtual bool isHeightField ()=0
 
virtual double volumeMax ()=0
 
virtual double volumeMin ()=0
 
virtual double volumeAverage ()=0
 
virtual HOM_Matrix3transform ()=0
 
virtual double taper ()=0
 
virtual HOM_Vertexvertex (int index)=0
 
virtual bool isEmpty ()=0
 
virtual int activeVoxelCount ()=0
 
virtual HOM_BoundingBox activeVoxelBoundingBox ()=0
 
virtual HOM_Vector3 voxelSize ()=0
 
virtual HOM_EnumValuedataType ()=0
 
virtual std::vector< bool > voxelRangeAsBool (HOM_BoundingBox &range)=0
 
virtual std::vector< double > voxelRangeAsFloat (HOM_BoundingBox &range)=0
 
virtual std::vector< intvoxelRangeAsInt (HOM_BoundingBox &range)=0
 
virtual std::vector< HOM_Vector3voxelRangeAsVector3 (HOM_BoundingBox &range)=0
 
- Public Member Functions inherited from HOM_Prim
 HOM_Prim ()
 
 HOM_Prim (const HOM_Prim &)
 
virtual ~HOM_Prim ()
 
virtual bool operator== (HOM_PtrOrNull< HOM_Prim > prim)=0
 
virtual bool operator!= (HOM_PtrOrNull< HOM_Prim > prim)=0
 
virtual int __hash__ ()=0
 
virtual std::string __repr__ ()=0
 
virtual HOM_Geometrygeometry ()=0
 
virtual int number ()=0
 
virtual HOM_EnumValuetype ()=0
 
virtual HOM_EnumValueattribType ()=0
 
virtual HOM_IterableList
< HOM_Vertex > * 
vertices ()=0
 
virtual int numVertices ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Edge > > 
edges ()=0
 
virtual int numEdges ()=0
 
virtual double floatAttribValue (const char *name)=0
 
virtual double floatAttribValue (HOM_Attrib &attrib)=0
 
virtual std::vector< double > floatListAttribValue (const char *name)=0
 
virtual std::vector< double > floatListAttribValue (HOM_Attrib &attrib)=0
 
virtual int64 intAttribValue (const char *name)=0
 
virtual int64 intAttribValue (HOM_Attrib &attrib)=0
 
virtual std::vector< int64intListAttribValue (const char *name)=0
 
virtual std::vector< int64intListAttribValue (HOM_Attrib &attrib)=0
 
virtual std::string stringAttribValue (const char *name)=0
 
virtual std::string stringAttribValue (HOM_Attrib &attrib)=0
 
virtual std::vector< std::stringstringListAttribValue (const char *name)=0
 
virtual std::vector< std::stringstringListAttribValue (HOM_Attrib &attrib)=0
 
virtual std::map< std::string,
hboost::any > 
dictAttribValue (const char *name)=0
 
virtual std::map< std::string,
hboost::any > 
dictAttribValue (HOM_Attrib &name)=0
 
virtual std::vector< std::map
< std::string, hboost::any > > 
dictListAttribValue (const char *name)=0
 
virtual std::vector< std::map
< std::string, hboost::any > > 
dictListAttribValue (HOM_Attrib &name)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, int64 attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, double attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const char *attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< int64 > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< double > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< std::string > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::map< std::string, hboost::any > &attrib_value)=0
 
virtual void setAttribValue (HOM_Attrib &attrib, const std::vector< std::map< std::string, hboost::any > > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, int64 attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, double attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const char *attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< int64 > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< double > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< std::string > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::map< std::string, hboost::any > &attrib_value)=0
 
virtual void setAttribValue (const char *attrib_name, const std::vector< std::map< std::string, hboost::any > > &attrib_value)=0
 
virtual std::vector< std::stringintrinsicNames ()=0
 
virtual hboost::any intrinsicValue (const char *intrinsic_name)=0
 
virtual size_t intrinsicSize (const char *intrinsic_name)=0
 
virtual bool intrinsicReadOnly (const char *intrinsic_name)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, double value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, int value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, int64 value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const char *value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< double > &value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< int > &value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< int64 > &value)=0
 
virtual void setIntrinsicValue (const char *intrinsic_name, const std::vector< std::string > &value)=0
 
virtual HOM_Vector3positionAtInterior (double u, double v, double w=0.0)=0
 
virtual hboost::any boostAnyAttribValueAtInterior (const char *name, double u, double v, double w)=0
 
virtual hboost::any boostAnyAttribValueAtInterior (HOM_Attrib &attrib, double u, double v, double w)=0
 
virtual HOM_Point_nearestPointOnPrimToPosition (const HOM_Vector3 &uvw, const HOM_Vector3 &position)=0
 
virtual HOM_BoundingBox boundingBox ()=0
 
virtual UT_Tuple< double,
double, double > 
nearestToPosition (const std::vector< double > &position)=0
 
virtual std::vector
< HOM_ElemPtr< HOM_PrimGroup > > 
groups ()=0
 
virtual HOM_Vector2primuvConvert (const HOM_Vector2 &uv, int mode)=0
 
virtual HOM_Vector2primuvConvert (const HOM_Vector2 &uv, int mode, double tol)=0
 
virtual double primuConvert (double u, int mode)=0
 
virtual double primuConvert (double u, int mode, double tol)=0
 
virtual void _attribInfo (const char *name, int &attr_data_type, int &attr_size, bool &is_array_type)=0
 

Detailed Description

Definition at line 24 of file HOM_VDB.h.

Constructor & Destructor Documentation

HOM_VDB::HOM_VDB ( )
inline

Definition at line 27 of file HOM_VDB.h.

HOM_VDB::HOM_VDB ( const HOM_VDB volume)
inline

Definition at line 33 of file HOM_VDB.h.

HOM_VDB::~HOM_VDB ( )
inlineoverride

Definition at line 37 of file HOM_VDB.h.

Member Function Documentation

virtual HOM_BoundingBox HOM_VDB::activeVoxelBoundingBox ( )
pure virtual
virtual int HOM_VDB::activeVoxelCount ( )
pure virtual
virtual HOM_EnumValue& HOM_VDB::dataType ( )
pure virtual
virtual HOM_Vector3* HOM_VDB::gradient ( const std::vector< double > &  position)
pure virtual
virtual HOM_Vector3* HOM_VDB::indexToPos ( const std::vector< int > &  index)
pure virtual
virtual bool HOM_VDB::isEmpty ( )
pure virtual
virtual bool HOM_VDB::isHeightField ( )
pure virtual
virtual bool HOM_VDB::isSDF ( )
pure virtual
virtual std::vector<int> HOM_VDB::posToIndex ( const std::vector< double > &  position)
pure virtual
virtual std::vector<int> HOM_VDB::resolution ( )
pure virtual
virtual double HOM_VDB::sample ( const std::vector< double > &  position)
pure virtual
virtual HOM_Vector3* HOM_VDB::samplev ( const std::vector< double > &  position)
pure virtual
virtual double HOM_VDB::taper ( )
pure virtual
virtual HOM_Matrix3* HOM_VDB::transform ( )
pure virtual
virtual HOM_Vertex* HOM_VDB::vertex ( int  index)
pure virtual
virtual double HOM_VDB::volumeAverage ( )
pure virtual
virtual double HOM_VDB::volumeMax ( )
pure virtual
virtual double HOM_VDB::volumeMin ( )
pure virtual
virtual double HOM_VDB::voxel ( const std::vector< int > &  index)
pure virtual
virtual std::vector<bool> HOM_VDB::voxelRangeAsBool ( HOM_BoundingBox range)
pure virtual
virtual std::vector<double> HOM_VDB::voxelRangeAsFloat ( HOM_BoundingBox range)
pure virtual
virtual std::vector<int> HOM_VDB::voxelRangeAsInt ( HOM_BoundingBox range)
pure virtual
virtual std::vector<HOM_Vector3> HOM_VDB::voxelRangeAsVector3 ( HOM_BoundingBox range)
pure virtual
virtual HOM_Vector3 HOM_VDB::voxelSize ( )
pure virtual

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