TTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ttkIcospheresFromPoints Class Reference

#include <ttkIcospheresFromPoints.h>

Inheritance diagram for ttkIcospheresFromPoints:
ttkIcosphere ttkAlgorithm ttk::Icosphere ttk::Debug ttk::Debug ttk::BaseClass ttk::BaseClass

Public Member Functions

 vtkSetMacro (CopyPointData, bool)
 
 vtkGetMacro (CopyPointData, bool)
 
 vtkTypeMacro (ttkIcospheresFromPoints, ttkIcosphere)
 
- Public Member Functions inherited from ttkIcosphere
 vtkTypeMacro (ttkIcosphere, ttkAlgorithm)
 
 vtkSetMacro (NumberOfSubdivisions, int)
 
 vtkGetMacro (NumberOfSubdivisions, int)
 
 vtkSetVector3Macro (Center, double)
 
 vtkGetVector3Macro (Center, double)
 
 vtkSetMacro (Radius, double)
 
 vtkGetMacro (Radius, double)
 
 vtkSetMacro (ComputeNormals, bool)
 
 vtkGetMacro (ComputeNormals, bool)
 
 vtkSetMacro (Centers, vtkDataArray *)
 
 vtkGetMacro (Centers, vtkDataArray *)
 
- Public Member Functions inherited from ttkAlgorithm
 vtkTypeMacro (ttkAlgorithm, vtkAlgorithm)
 
void UpdateThreadNumber ()
 
void SetThreadNumber (int threadNumber)
 
void SetUseAllCores (bool useAllCores)
 
void SetDebugLevel (int debugLevel)
 
vtkDataArray * GetOptionalArray (const bool &enforceArrayIndex, const int &arrayIndex, const std::string &arrayName, vtkDataSet *const inputData, const int &inputPort=0)
 
vtkDataArray * GetOrderArray (vtkDataSet *const inputData, const int scalarArrayIdx, const int orderArrayIdx=0, const bool enforceOrderArrayIdx=false)
 
ttk::SimplexIdGetIdentifierArrayPtr (const bool &enforceArrayIndex, const int &arrayIndex, const std::string &arrayName, vtkDataSet *const inputData, std::vector< ttk::SimplexId > &spareStorage, const int inputPort=0)
 
ttk::TriangulationGetTriangulation (vtkDataSet *object)
 
int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVectors, vtkInformationVector *outputVector) override
 
vtkDataSet * GetOutput ()
 
vtkDataSet * GetOutput (int)
 
void SetInputData (vtkDataSet *)
 
void SetInputData (int, vtkDataSet *)
 
void AddInputData (vtkDataSet *)
 
void AddInputData (int, vtkDataSet *)
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
virtual ~Debug ()
 
virtual int setDebugLevel (const int &debugLevel)
 
virtual int setWrapper (const Wrapper *wrapper)
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string >> &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Static Public Member Functions

static ttkIcospheresFromPointsNew ()
 
- Static Public Member Functions inherited from ttkIcosphere
static ttkIcosphereNew ()
 
- Static Public Member Functions inherited from ttkAlgorithm
static ttkAlgorithmNew ()
 
static std::string GetOrderArrayName (vtkDataArray *const array)
 
static vtkInformationIntegerKey * SAME_DATA_TYPE_AS_INPUT_PORT ()
 

Protected Member Functions

 ttkIcospheresFromPoints ()
 
 ~ttkIcospheresFromPoints ()
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
- Protected Member Functions inherited from ttkIcosphere
 ttkIcosphere ()
 
 ~ttkIcosphere ()
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
int FillOutputPortInformation (int port, vtkInformation *info) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
- Protected Member Functions inherited from ttkAlgorithm
 ttkAlgorithm ()
 
virtual ~ttkAlgorithm ()
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVectors, vtkInformationVector *outputVector)
 
virtual int RequestInformation (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestUpdateTime (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestUpdateTimeDependentInformation (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestUpdateExtent (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestDataNotGenerated (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestData (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int FillInputPortInformation (int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
 
virtual int FillOutputPortInformation (int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
 
- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Member Functions inherited from ttk::Icosphere
 Icosphere ()
 
 ~Icosphere () override=default
 
int computeNumberOfVerticesAndTriangles (size_t &nVertices, size_t &nTriangles, const size_t nSubdivisions) const
 
template<typename DT , typename IT >
int translateIcosphere (DT *vertexCoords, IT *connectivityList, const size_t &icosphereIndex, const size_t &nVerticesPerIcosphere, const size_t &nTrianglesPerIcosphere, const DT *centers) const
 
template<typename DT , typename IT >
int computeIcosphere (DT *vertexCoords, IT *connectivityList, const size_t &nSubdivisions) const
 
template<typename DT , typename IT >
int computeIcospheres (DT *vertexCoords, IT *connectivityList, const size_t &nSpheres, const size_t &nSubdivisions, const DT &radius, const DT *center, DT *normals=nullptr) const
 

Additional Inherited Members

- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

Author
Jonas Lukasczyk (jl@jl.nosp@m.uk.d.nosp@m.e)
Date
01.09.2019

This filter creates an icosphere with a specified radius, center, and number of subdivisions at each vertex of an input vtkPointSet.

See also
ttk::IcoSphere
ttk::ttkAlgorithm

Online examples:

Definition at line 25 of file ttkIcospheresFromPoints.h.

Constructor & Destructor Documentation

◆ ttkIcospheresFromPoints()

ttkIcospheresFromPoints::ttkIcospheresFromPoints ( )
protected

Definition at line 13 of file ttkIcospheresFromPoints.cpp.

◆ ~ttkIcospheresFromPoints()

ttkIcospheresFromPoints::~ttkIcospheresFromPoints ( )
protected

Definition at line 17 of file ttkIcospheresFromPoints.cpp.

Member Function Documentation

◆ FillInputPortInformation()

int ttkIcospheresFromPoints::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
overrideprotected

Definition at line 20 of file ttkIcospheresFromPoints.cpp.

◆ New()

static ttkIcospheresFromPoints* ttkIcospheresFromPoints::New ( )
static

◆ RequestData()

int ttkIcospheresFromPoints::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
overrideprotected

Definition at line 52 of file ttkIcospheresFromPoints.cpp.

◆ vtkGetMacro()

ttkIcospheresFromPoints::vtkGetMacro ( CopyPointData  ,
bool   
)

◆ vtkSetMacro()

ttkIcospheresFromPoints::vtkSetMacro ( CopyPointData  ,
bool   
)

◆ vtkTypeMacro()

ttkIcospheresFromPoints::vtkTypeMacro ( ttkIcospheresFromPoints  ,
ttkIcosphere   
)

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