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

#include <HOM_Volume.h>

+ Inheritance diagram for HOM_Volume:

Public Member Functions

 HOM_Volume ()
 
 HOM_Volume (const HOM_Volume &volume)
 
 ~HOM_Volume () override
 
virtual double sample (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 void setVoxel (const std::vector< int > &index, double value)=0
 
virtual std::vector< floatallVoxels ()=0
 
virtual HOM_BinaryString allVoxelsAsString ()=0
 
virtual void setAllVoxels (const std::vector< float > &values)=0
 
 SWIGOUT (%ignore opaqueSetAllVoxelsFromString)
 
virtual void opaqueSetAllVoxelsFromString (const char *values, int64 length)=0
 
virtual std::vector< floatvoxelSlice (const char *plane, int index)=0
 
virtual HOM_BinaryString voxelSliceAsString (const char *plane, int index)=0
 
virtual void setVoxelSlice (const std::vector< float > &values, const char *plane, int index)=0
 
 SWIGOUT (%ignore opaqueSetVoxelSliceFromString)
 
virtual void opaqueSetVoxelSliceFromString (const char *values, int64 length, const char *plane, 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 isValidIndex (const std::vector< int > &index)=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 void setTransform (HOM_Matrix4 &transform)=0
 
virtual double taperX ()=0
 
virtual double taperY ()=0
 
virtual HOM_Vertexvertex (int index)=0
 
virtual HOM_Vector3 voxelSize ()=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 18 of file HOM_Volume.h.

Constructor & Destructor Documentation

HOM_Volume::HOM_Volume ( )
inline

Definition at line 21 of file HOM_Volume.h.

HOM_Volume::HOM_Volume ( const HOM_Volume volume)
inline

Definition at line 27 of file HOM_Volume.h.

HOM_Volume::~HOM_Volume ( )
inlineoverride

Definition at line 31 of file HOM_Volume.h.

Member Function Documentation

virtual std::vector<float> HOM_Volume::allVoxels ( )
pure virtual
virtual HOM_BinaryString HOM_Volume::allVoxelsAsString ( )
pure virtual
virtual HOM_Vector3* HOM_Volume::gradient ( const std::vector< double > &  position)
pure virtual
virtual HOM_Vector3* HOM_Volume::indexToPos ( const std::vector< int > &  index)
pure virtual
virtual bool HOM_Volume::isHeightField ( )
pure virtual
virtual bool HOM_Volume::isSDF ( )
pure virtual
virtual bool HOM_Volume::isValidIndex ( const std::vector< int > &  index)
pure virtual
virtual void HOM_Volume::opaqueSetAllVoxelsFromString ( const char *  values,
int64  length 
)
pure virtual
virtual void HOM_Volume::opaqueSetVoxelSliceFromString ( const char *  values,
int64  length,
const char *  plane,
int  index 
)
pure virtual
virtual std::vector<int> HOM_Volume::posToIndex ( const std::vector< double > &  position)
pure virtual
virtual std::vector<int> HOM_Volume::resolution ( )
pure virtual
virtual double HOM_Volume::sample ( const std::vector< double > &  position)
pure virtual
virtual void HOM_Volume::setAllVoxels ( const std::vector< float > &  values)
pure virtual
virtual void HOM_Volume::setTransform ( HOM_Matrix4 transform)
pure virtual
virtual void HOM_Volume::setVoxel ( const std::vector< int > &  index,
double  value 
)
pure virtual
virtual void HOM_Volume::setVoxelSlice ( const std::vector< float > &  values,
const char *  plane,
int  index 
)
pure virtual
HOM_Volume::SWIGOUT ( %ignore  opaqueSetAllVoxelsFromString)
HOM_Volume::SWIGOUT ( %ignore  opaqueSetVoxelSliceFromString)
virtual double HOM_Volume::taperX ( )
pure virtual
virtual double HOM_Volume::taperY ( )
pure virtual
virtual HOM_Matrix3* HOM_Volume::transform ( )
pure virtual
virtual HOM_Vertex* HOM_Volume::vertex ( int  index)
pure virtual
virtual double HOM_Volume::volumeAverage ( )
pure virtual
virtual double HOM_Volume::volumeMax ( )
pure virtual
virtual double HOM_Volume::volumeMin ( )
pure virtual
virtual double HOM_Volume::voxel ( const std::vector< int > &  index)
pure virtual
virtual HOM_Vector3 HOM_Volume::voxelSize ( )
pure virtual
virtual std::vector<float> HOM_Volume::voxelSlice ( const char *  plane,
int  index 
)
pure virtual
virtual HOM_BinaryString HOM_Volume::voxelSliceAsString ( const char *  plane,
int  index 
)
pure virtual

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